Reference > Configuration > Runtime

Statement Executor

Configure options for executing SQL statements against the target database.

core concept: statement executor

Generically specify type

Syntax

Use<T>()

Arguments

T
The generic parameter that specifies the type that implements `ISqlStatementExecutor`. `T` must have a public parameterless constructor.
syntax examples

Use a factory

Syntax

Use({factory})

Arguments

factory
A factory responsible for creating sql statement executors.
syntax examples
Previous
Connection Strings

© 2024 dbExpression. All rights reserved.