Class NpgsqlAnnotationCodeGenerator
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.
Inheritance
object
NpgsqlAnnotationCodeGenerator
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlAnnotationCodeGenerator : AnnotationCodeGenerator
Constructors
|
Improve this Doc
View Source
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.
Declaration
public NpgsqlAnnotationCodeGenerator(AnnotationCodeGeneratorDependencies dependencies)
Parameters
Type |
Name |
Description |
AnnotationCodeGeneratorDependencies |
dependencies |
|
Methods
|
Improve this Doc
View Source
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.
Declaration
protected override MethodCallCodeFragment? GenerateFluentApi(IEntityType entityType, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IEntityType |
entityType |
|
IAnnotation |
annotation |
|
Returns
Type |
Description |
MethodCallCodeFragment? |
|
|
Improve this Doc
View Source
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.
Declaration
protected override MethodCallCodeFragment? GenerateFluentApi(IIndex index, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IIndex |
index |
|
IAnnotation |
annotation |
|
Returns
Type |
Description |
MethodCallCodeFragment? |
|
|
Improve this Doc
View Source
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.
Declaration
protected override MethodCallCodeFragment? GenerateFluentApi(IModel model, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IModel |
model |
|
IAnnotation |
annotation |
|
Returns
Type |
Description |
MethodCallCodeFragment? |
|
|
Improve this Doc
View Source
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.
Declaration
public override IReadOnlyList<MethodCallCodeFragment> GenerateFluentApiCalls(IModel model, IDictionary<string, IAnnotation> annotations)
Parameters
Type |
Name |
Description |
IModel |
model |
|
IDictionary<, ><string, IAnnotation> |
annotations |
|
Returns
Type |
Description |
IReadOnlyList<><MethodCallCodeFragment> |
|
|
Improve this Doc
View Source
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.
Declaration
public override IReadOnlyList<MethodCallCodeFragment> GenerateFluentApiCalls(IProperty property, IDictionary<string, IAnnotation> annotations)
Parameters
Type |
Name |
Description |
IProperty |
property |
|
IDictionary<, ><string, IAnnotation> |
annotations |
|
Returns
Type |
Description |
IReadOnlyList<><MethodCallCodeFragment> |
|
|
Improve this Doc
View Source
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.
Declaration
protected override bool IsHandledByConvention(IIndex index, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IIndex |
index |
|
IAnnotation |
annotation |
|
Returns
|
Improve this Doc
View Source
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.
Declaration
protected override bool IsHandledByConvention(IModel model, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IModel |
model |
|
IAnnotation |
annotation |
|
Returns
|
Improve this Doc
View Source
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.
Declaration
protected override bool IsHandledByConvention(IProperty property, IAnnotation annotation)
Parameters
Type |
Name |
Description |
IProperty |
property |
|
IAnnotation |
annotation |
|
Returns