SQLiteBuilderExtensions
Builder extensions methods to register services for SQLite.
- Namespace:
- KpokPatagon.Data.SQLite.DependencyInjection
- Type:
- Class
- Public:
- Yes
- Protected:
- No
- Sealed:
- Yes
- Abstract:
- Yes
Methods
AddSQLiteCommandBuilder
Adds a SQLiteDbCmdBuilder service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteCommandBuilder(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the command builder service. |
options |
Action<CommandBuilderOptions> |
Command builder configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteDatabaseApi
Adds a SQLiteDbAccess named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteDatabaseApi(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the database api service. |
options |
Action<DatabaseApiOptions> |
Database api configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteDataModelCommandBuilder
Adds a SQLiteDataModelCmdBuilder named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteDataModelCommandBuilder(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the data model command builder service. |
options |
Action<DataModelCommandBuilderOptions> |
Data model command builder configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteNameQualifier
Adds a SQLiteDbNameQualifier named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteNameQualifier(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the name qualifier service. |
options |
Action<NameQualifierOptions> |
Name qualifier configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteSchemaDiscoverer
Adds a SQLiteSchemaDiscoverer named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteSchemaDiscoverer(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the schema discoverer service. |
options |
Action<SchemaDiscovererOptions> |
Schema discoverer configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteSchemaProvisioner
Adds a SQLiteSchemaProvisioner named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteSchemaProvisioner(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the schema provisioner service. |
options |
Action<SchemaProvisionerOptions> |
Schema provisioner configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |
AddSQLiteTableComparisonService
Adds a singleton SQLiteTableComparisonService to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteTableComparisonService(builder)
Parameters
AddSQLiteViewBuilder
Adds a SQLiteViewBuilder named service to DI.
- Signature:
public IKpokPatagonBuilder AddSQLiteViewBuilder(builder, name, options)
Parameters
Name |
Type |
Summary |
builder |
IKpokPatagonBuilder |
An IKpokPatagonBuilder. |
name |
String |
The name of the view builder service. |
options |
Action<ViewBuilderOptions> |
View builder configuration options. |
Exceptions
Type |
Summary |
ArgumentException |
Thrown when name is null or whitespace. |
ArgumentNullException |
Thrown when options is null. |