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
IEntityTypeannotation
IAnnotation
Returns
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
IIndexannotation
IAnnotation
Returns
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
IModelannotation
IAnnotation
Returns
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
IModelannotations
IDictionary<string, IAnnotation>
Returns
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
IPropertyannotations
IDictionary<string, IAnnotation>
Returns
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
IIndexannotation
IAnnotation
Returns
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
IModelannotation
IAnnotation
Returns
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
IPropertyannotation
IAnnotation