Class EfCoreDataSourceOptions
- Namespace
- Savvyio.Extensions.EFCore
- Assembly
- Savvyio.Extensions.EFCore.dll
Configuration options for IEfCoreDataSource.
public class EfCoreDataSourceOptions : IParameterObject
- Inheritance
-
EfCoreDataSourceOptions
- Implements
- Derived
Constructors
EfCoreDataSourceOptions()
Initializes a new instance of the EfCoreDataSourceOptions class.
public EfCoreDataSourceOptions()
Properties
ContextConfigurator
Gets or sets the delegate responsible for configuring the DbContext.
public Action<DbContextOptionsBuilder> ContextConfigurator { get; set; }
Property Value
- Action<DbContextOptionsBuilder>
The delegate responsible for configuring the DbContext.
ConventionsConfigurator
Gets or sets the delegate responsible for configuring defaults and conventions of the DbContext.
public Action<ModelConfigurationBuilder> ConventionsConfigurator { get; set; }
Property Value
- Action<ModelConfigurationBuilder>
The delegate responsible for configuring defaults and conventions of the DbContext.
ModelConstructor
Gets or sets the delegate responsible for configuring the model of the DbContext.
public Action<ModelBuilder> ModelConstructor { get; set; }
Property Value
- Action<ModelBuilder>
The delegate responsible for configuring the model of the DbContext.