Class SqliteForMsSqlServerModelCustomizer
An implementation of SqliteModelCustomizer specifically configured to handle a DbContext designed for Microsoft SQL Server databases.
Implements
Inherited Members
Namespace: Wolfgang.DbContextBuilderCore
Assembly: Wolfgang.DbContextBuilder-Core.dll
Syntax
public class SqliteForMsSqlServerModelCustomizer : SqliteModelCustomizer, IModelCustomizer
Remarks
This class includes overrides to map common default value SQL functions from SQL Server to their SQLite equivalents.
Constructors
| Edit this page View SourceSqliteForMsSqlServerModelCustomizer(ModelCustomizerDependencies)
Creates a new instance of the SqliteForMsSqlServerModelCustomizer class.
Declaration
public SqliteForMsSqlServerModelCustomizer(ModelCustomizerDependencies dependencies)
Parameters
| Type | Name | Description |
|---|---|---|
| ModelCustomizerDependencies | dependencies | The dependencies for the model customizer. |
Remarks
This class should not be created directly but rather added to the service collection by calling UseSqliteForMsSqlServer<TDbContext>(DbContextBuilder<TDbContext>) on a DbContextBuilder<T>.