Table of Contents

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 CSharpRuntimeAnnotationCodeGeneratorDependencies
relationalDependencies 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 CoreTypeMapping
parameters 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 CoreTypeMapping
parameters CSharpRuntimeAnnotationCodeGeneratorParameters
valueComparer ValueComparer
keyValueComparer ValueComparer
providerValueComparer ValueComparer

Returns

bool

Generate(IColumn, CSharpRuntimeAnnotationCodeGeneratorParameters)

Generates code to create the given annotations.

public override void Generate(IColumn column, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)

Parameters

column IColumn

The column to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 IEntityType

The entity type to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 IIndex

The index to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 IModel

The model to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 IProperty

The property to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 IRelationalModel

The relational model to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 ITable

The table to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional 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 ITableIndex

The unique constraint to which the annotations are applied.

parameters CSharpRuntimeAnnotationCodeGeneratorParameters

Additional parameters used during code generation.