Class NpgsqlCSharpRuntimeAnnotationCodeGenerator
- Namespace
- Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class NpgsqlCSharpRuntimeAnnotationCodeGenerator : RelationalCSharpRuntimeAnnotationCodeGenerator, ICSharpRuntimeAnnotationCodeGenerator
- Inheritance
-
NpgsqlCSharpRuntimeAnnotationCodeGenerator
- Implements
- Inherited Members
Constructors
NpgsqlCSharpRuntimeAnnotationCodeGenerator(CSharpRuntimeAnnotationCodeGeneratorDependencies, RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public NpgsqlCSharpRuntimeAnnotationCodeGenerator(CSharpRuntimeAnnotationCodeGeneratorDependencies dependencies, RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies relationalDependencies)
Parameters
dependencies
CSharpRuntimeAnnotationCodeGeneratorDependenciesrelationalDependencies
RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies
Methods
AddNpgsqlTypeMappingTweaks(CoreTypeMapping, CSharpRuntimeAnnotationCodeGeneratorParameters)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[EntityFrameworkInternal]
protected virtual void AddNpgsqlTypeMappingTweaks(CoreTypeMapping typeMapping, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
typeMapping
CoreTypeMappingparameters
CSharpRuntimeAnnotationCodeGeneratorParameters
Create(CoreTypeMapping, CSharpRuntimeAnnotationCodeGeneratorParameters, ValueComparer?, ValueComparer?, ValueComparer?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public override bool Create(CoreTypeMapping typeMapping, CSharpRuntimeAnnotationCodeGeneratorParameters parameters, ValueComparer? valueComparer = null, ValueComparer? keyValueComparer = null, ValueComparer? providerValueComparer = null)
Parameters
typeMapping
CoreTypeMappingparameters
CSharpRuntimeAnnotationCodeGeneratorParametersvalueComparer
ValueComparerkeyValueComparer
ValueComparerproviderValueComparer
ValueComparer
Returns
Generate(IColumn, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IColumn column, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
column
IColumnThe column to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(IEntityType, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IEntityType entityType, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
entityType
IEntityTypeThe entity type to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(IIndex, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IIndex index, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
index
IIndexThe index to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(IModel, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IModel model, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
model
IModelThe model to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(IProperty, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IProperty property, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
property
IPropertyThe property to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(IRelationalModel, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(IRelationalModel model, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
model
IRelationalModelThe relational model to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(ITable, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(ITable table, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
table
ITableThe table to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.
Generate(ITableIndex, CSharpRuntimeAnnotationCodeGeneratorParameters)
Generates code to create the given annotations.
public override void Generate(ITableIndex index, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
Parameters
index
ITableIndexThe unique constraint to which the annotations are applied.
parameters
CSharpRuntimeAnnotationCodeGeneratorParametersAdditional parameters used during code generation.