IModelBuilderService Interface
Namespace: PTS.EntityLayer.Extensibility
Assembly: PTS.EntityLayer.Extensibility.dll
Performs modeling operations when database model in a context is defined.
Syntax
public interface IModelBuilderService
Methods
ConfigureModel(ModelBuilder)
Executes when OnConfiguringModel method in the Microsoft.EntityFrameworkCore.DbContext is called.
Declaration
void ConfigureModel(ModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.ModelBuilder | modelBuilder | Builder for current database model. |