Class NpgsqlRuntimeModelConvention
A convention that creates an optimized copy of the mutable model.
Inheritance
object
NpgsqlRuntimeModelConvention
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlRuntimeModelConvention : RelationalRuntimeModelConvention
Constructors
| Improve this Doc View SourceNpgsqlRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)
Creates a new instance of NpgsqlRuntimeModelConvention.
Declaration
public NpgsqlRuntimeModelConvention(ProviderConventionSetBuilderDependencies dependencies, RelationalConventionSetBuilderDependencies relationalDependencies)
Parameters
Type | Name | Description |
---|---|---|
ProviderConventionSetBuilderDependencies | dependencies | Parameter object containing dependencies for this convention. |
RelationalConventionSetBuilderDependencies | relationalDependencies | Parameter object containing relational dependencies for this convention. |
Methods
| Improve this Doc View SourceProcessEntityTypeAnnotations(Dictionary<string, object?>, IEntityType, RuntimeEntityType, bool)
Declaration
protected override void ProcessEntityTypeAnnotations(Dictionary<string, object?> annotations, IEntityType entityType, RuntimeEntityType runtimeEntityType, bool runtime)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<, ><string, object?> | annotations | |
IEntityType | entityType | |
RuntimeEntityType | runtimeEntityType | |
bool | runtime |
ProcessIndexAnnotations(Dictionary<string, object?>, IIndex, RuntimeIndex, bool)
Declaration
protected override void ProcessIndexAnnotations(Dictionary<string, object?> annotations, IIndex index, RuntimeIndex runtimeIndex, bool runtime)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<, ><string, object?> | annotations | |
IIndex | index | |
RuntimeIndex | runtimeIndex | |
bool | runtime |
ProcessModelAnnotations(Dictionary<string, object?>, IModel, RuntimeModel, bool)
Declaration
protected override void ProcessModelAnnotations(Dictionary<string, object?> annotations, IModel model, RuntimeModel runtimeModel, bool runtime)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<, ><string, object?> | annotations | |
IModel | model | |
RuntimeModel | runtimeModel | |
bool | runtime |
ProcessPropertyAnnotations(Dictionary<string, object?>, IProperty, RuntimeProperty, bool)
Declaration
protected override void ProcessPropertyAnnotations(Dictionary<string, object?> annotations, IProperty property, RuntimeProperty runtimeProperty, bool runtime)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<, ><string, object?> | annotations | |
IProperty | property | |
RuntimeProperty | runtimeProperty | |
bool | runtime |