Table of Contents

Class NpgsqlAnnotationCodeGenerator

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 NpgsqlAnnotationCodeGenerator : AnnotationCodeGenerator, IAnnotationCodeGenerator
Inheritance
NpgsqlAnnotationCodeGenerator
Implements
Inherited Members

Constructors

NpgsqlAnnotationCodeGenerator(AnnotationCodeGeneratorDependencies)

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 NpgsqlAnnotationCodeGenerator(AnnotationCodeGeneratorDependencies dependencies)

Parameters

dependencies AnnotationCodeGeneratorDependencies

Methods

GenerateFluentApi(IEntityType, IAnnotation)

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.

protected override MethodCallCodeFragment? GenerateFluentApi(IEntityType entityType, IAnnotation annotation)

Parameters

entityType IEntityType
annotation IAnnotation

Returns

MethodCallCodeFragment

GenerateFluentApi(IIndex, IAnnotation)

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.

protected override MethodCallCodeFragment? GenerateFluentApi(IIndex index, IAnnotation annotation)

Parameters

index IIndex
annotation IAnnotation

Returns

MethodCallCodeFragment

GenerateFluentApi(IModel, IAnnotation)

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.

protected override MethodCallCodeFragment? GenerateFluentApi(IModel model, IAnnotation annotation)

Parameters

model IModel
annotation IAnnotation

Returns

MethodCallCodeFragment

GenerateFluentApiCalls(IModel, IDictionary<string, IAnnotation>)

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 IReadOnlyList<MethodCallCodeFragment> GenerateFluentApiCalls(IModel model, IDictionary<string, IAnnotation> annotations)

Parameters

model IModel
annotations IDictionary<string, IAnnotation>

Returns

IReadOnlyList<MethodCallCodeFragment>

GenerateFluentApiCalls(IProperty, IDictionary<string, IAnnotation>)

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 IReadOnlyList<MethodCallCodeFragment> GenerateFluentApiCalls(IProperty property, IDictionary<string, IAnnotation> annotations)

Parameters

property IProperty
annotations IDictionary<string, IAnnotation>

Returns

IReadOnlyList<MethodCallCodeFragment>

IsHandledByConvention(IIndex, IAnnotation)

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.

protected override bool IsHandledByConvention(IIndex index, IAnnotation annotation)

Parameters

index IIndex
annotation IAnnotation

Returns

bool

IsHandledByConvention(IModel, IAnnotation)

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.

protected override bool IsHandledByConvention(IModel model, IAnnotation annotation)

Parameters

model IModel
annotation IAnnotation

Returns

bool

IsHandledByConvention(IProperty, IAnnotation)

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.

protected override bool IsHandledByConvention(IProperty property, IAnnotation annotation)

Parameters

property IProperty
annotation IAnnotation

Returns

bool