ModelBuilderService Class
Namespace: PTS.EntityLayer.Extensibility
Assembly: PTS.EntityLayer.Extensibility.dll
Default implementation of IModelBuilderService the that performs modeling operations when database model in a context is defined.
Syntax
public abstract class ModelBuilderService : EntityService, IModelBuilderService
Implements
Constructors
ModelBuilderService(IEntityServiceScope)
Declaration
public ModelBuilderService(IEntityServiceScope container)
Parameters
Type | Name | Description |
---|---|---|
IEntityServiceScope | container |
Methods
ConfigureModel(ModelBuilder)
Executes when OnConfiguringModel method in the Microsoft.EntityFrameworkCore.DbContext is called.
Declaration
public abstract void ConfigureModel(ModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.ModelBuilder | modelBuilder | Builder for current database model. |
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()