Table of Contents

Interface ISessionInfoFunctions

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A dialect's session/information function surface (current_user, session_user, current_schema, current_database, version). The predicate and the renderer live on one object, so a name the dialect reports as supported always has a rendering; a provider that can express only part of the family (ClickHouse, SQLite) exposes the same object and answers Supports(string) per name.

public interface ISessionInfoFunctions
Extension Methods

Remarks

Unlike the stateless IIifRenderer/ILimitByRenderer, this object carries both the per-name predicate and the renderer, hence the plural capability-noun name rather than the *Renderer suffix.

Methods

Render(string)

Renders the session/information function name.

string Render(string name)

Parameters

name string

Returns

string

Supports(string)

True when the session/information function name can be rendered.

bool Supports(string name)

Parameters

name string

Returns

bool