Table of Contents

Interface IIifRenderer

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A dialect's renderer for the conditional iif(condition, whenTrue, whenFalse). The object's presence is the capability: a dialect whose provider has a native spelling exposes a stateless singleton, while a dialect without one returns null from Iif and the expression translator rejects the call instead of emitting SQL the provider cannot execute.

public interface IIifRenderer
Extension Methods

Methods

Render(string, string, string)

Renders the conditional over the already-rendered condition, whenTrue and whenFalse operands.

string Render(string condition, string whenTrue, string whenFalse)

Parameters

condition string
whenTrue string
whenFalse string

Returns

string