Interface ISimpleBuilder
- Assembly
- Dapper.SimpleSqlBuilder.DependencyInjection.dll
An interface that defines the builder factory type.
public interface ISimpleBuilder
Methods
Create(FormattableString?, string?, bool?)
A method to create a builder instance.
Builder Create(FormattableString? formattable = null, string? parameterPrefix = null, bool? reuseParameters = null)
Parameters
formattable
FormattableString?-
The FormattableString.
parameterPrefix
string?-
The value to override the DatabaseParameterPrefix value.
reuseParameters
bool?-
The value to override the ReuseParameters value.
Returns
- Builder
-
A new instance of Builder.
Create(ref BuilderFactoryInterpolatedStringHandler)
A method to create a builder instance.
Builder Create(ref BuilderFactoryInterpolatedStringHandler handler)
Parameters
handler
BuilderFactoryInterpolatedStringHandler-
The BuilderFactoryInterpolatedStringHandler to use for creating the builder.
Returns
- Builder
-
A new instance of Builder.
CreateFluent(string?, bool?, bool?)
A method to create a fluent builder instance.
ISimpleFluentBuilderEntry CreateFluent(string? parameterPrefix = null, bool? reuseParameters = null, bool? useLowerCaseClauses = null)
Parameters
parameterPrefix
string?-
The value to override the DatabaseParameterPrefix value.
reuseParameters
bool?-
The value to override the ReuseParameters value.
useLowerCaseClauses
bool?-
The value to override the UseLowerCaseClauses value.
Returns
- ISimpleFluentBuilderEntry
-
A new instance of ISimpleFluentBuilderEntry.