AnnotationCodeGenerator
AnnotationCodeGenerator(AnnotationCodeGeneratorDependencies)
Dependencies
GenerateFluentApi(IEntityType, IAnnotation)
GenerateFluentApi(IForeignKey, IAnnotation)
GenerateFluentApi(IIndex, IAnnotation)
GenerateFluentApi(IKey, IAnnotation)
GenerateFluentApi(IModel, IAnnotation)
GenerateFluentApi(IProperty, IAnnotation)
GenerateFluentApi(IEntityType, IAnnotation, String)
GenerateFluentApi(IForeignKey, IAnnotation, String)
GenerateFluentApi(IIndex, IAnnotation, String)
GenerateFluentApi(IKey, IAnnotation, String)
GenerateFluentApi(IModel, IAnnotation, String)
GenerateFluentApi(IProperty, IAnnotation, String)
IsHandledByConvention(IEntityType, IAnnotation)
IsHandledByConvention(IForeignKey, IAnnotation)
IsHandledByConvention(IIndex, IAnnotation)
IsHandledByConvention(IKey, IAnnotation)
IsHandledByConvention(IModel, IAnnotation)
IsHandledByConvention(IProperty, IAnnotation)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Design
{
public class AnnotationCodeGenerator : IAnnotationCodeGenerator
{
[Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(IForeignKey foreignKey, IAnnotation annotation, string language);
}
}
| .NET Core | 2.02.12.2 |
|---|---|
Information specific to netcoreapp2.2 | |
| Assembly | Microsoft.EntityFrameworkCore.Relational , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | The API is automatically referenced. |
| Obsolete | Use GenerateFluentApi(IProperty, IAnnotation) instead. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API