Class NpgsqlRuntimeModelConvention
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
A convention that creates an optimized copy of the mutable model.
public class NpgsqlRuntimeModelConvention : RelationalRuntimeModelConvention, IModelFinalizedConvention, IConvention- Inheritance
- 
      
      
      
      NpgsqlRuntimeModelConvention
- Implements
- Inherited Members
Constructors
NpgsqlRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)
Creates a new instance of NpgsqlRuntimeModelConvention.
public NpgsqlRuntimeModelConvention(ProviderConventionSetBuilderDependencies dependencies, RelationalConventionSetBuilderDependencies relationalDependencies)Parameters
- dependenciesProviderConventionSetBuilderDependencies
- Parameter object containing dependencies for this convention. 
- relationalDependenciesRelationalConventionSetBuilderDependencies
- Parameter object containing relational dependencies for this convention. 
Methods
ProcessEntityTypeAnnotations(Dictionary<string, object?>, IEntityType, RuntimeEntityType, bool)
Updates the entity type annotations that will be set on the read-only object.
protected override void ProcessEntityTypeAnnotations(Dictionary<string, object?> annotations, IEntityType entityType, RuntimeEntityType runtimeEntityType, bool runtime)Parameters
- annotationsDictionary<string, object>
- The annotations to be processed. 
- entityTypeIEntityType
- The source entity type. 
- runtimeEntityTypeRuntimeEntityType
- The target entity type that will contain the annotations. 
- runtimebool
- Indicates whether the given annotations are runtime annotations. 
ProcessIndexAnnotations(Dictionary<string, object?>, IIndex, RuntimeIndex, bool)
Updates the index annotations that will be set on the read-only object.
protected override void ProcessIndexAnnotations(Dictionary<string, object?> annotations, IIndex index, RuntimeIndex runtimeIndex, bool runtime)Parameters
- annotationsDictionary<string, object>
- The annotations to be processed. 
- indexIIndex
- The source index. 
- runtimeIndexRuntimeIndex
- The target index that will contain the annotations. 
- runtimebool
- Indicates whether the given annotations are runtime annotations. 
ProcessModelAnnotations(Dictionary<string, object?>, IModel, RuntimeModel, bool)
Updates the model annotations that will be set on the read-only object.
protected override void ProcessModelAnnotations(Dictionary<string, object?> annotations, IModel model, RuntimeModel runtimeModel, bool runtime)Parameters
- annotationsDictionary<string, object>
- The annotations to be processed. 
- modelIModel
- The source model. 
- runtimeModelRuntimeModel
- The target model that will contain the annotations. 
- runtimebool
- Indicates whether the given annotations are runtime annotations. 
ProcessPropertyAnnotations(Dictionary<string, object?>, IProperty, RuntimeProperty, bool)
Updates the property annotations that will be set on the read-only object.
protected override void ProcessPropertyAnnotations(Dictionary<string, object?> annotations, IProperty property, RuntimeProperty runtimeProperty, bool runtime)Parameters
- annotationsDictionary<string, object>
- The annotations to be processed. 
- propertyIProperty
- The source property. 
- runtimePropertyRuntimeProperty
- The target property that will contain the annotations. 
- runtimebool
- Indicates whether the given annotations are runtime annotations.