Table of Contents

Class RawVariableHandler

Namespace
Rinku.Querying.Defaults
Assembly
Rinku.dll

Injects a raw value directly into the SQL text without any escaping or modification.

public class RawVariableHandler : IQuerySegmentHandler
Inheritance
RawVariableHandler
Implements
Inherited Members
Extension Methods

Remarks

Use this only for trusted values such as dynamically generated table names or identifiers that cannot be parameterized.

Constructors

RawVariableHandler()

Injects a raw value directly into the SQL text without any escaping or modification.

public RawVariableHandler()

Remarks

Use this only for trusted values such as dynamically generated table names or identifiers that cannot be parameterized.

Fields

Instance

Singleton for RawVariableHandler

public static readonly RawVariableHandler Instance

Field Value

RawVariableHandler

Methods

Build(string)

Used to create a HandlerGetter<T> delegate.

public static RawVariableHandler Build(string _)

Parameters

_ string

Returns

RawVariableHandler

Handle(ref ValueStringBuilder, object)

Writes the SQL for value into the query being built.

public void Handle(ref ValueStringBuilder sb, object value)

Parameters

sb ValueStringBuilder

The builder the query is being assembled in.

value object

The value bound to this spot for the current run.