ConfigureConventions Method
Definition
- Namespace
- Savvyio.Extensions.EFCore
- Assemblies
- Savvyio.Extensions.EFCore.dll
ConfigureConventions(ModelConfigurationBuilder)
Override this method to set defaults and configure conventions before they run. This method is invoked before OnModelCreating(ModelBuilder).
protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
Parameters
configurationBuilderModelConfigurationBuilderThe builder being used to set defaults and configure conventions that will be used to build the model for this context.
Remarks
If a model is explicitly set on the options for this context (via UseModel(IModel)) then this method will not be run.