Язык

IAnnotationCodeGenerator.GenerateFluentApi Метод

Определение

Перегрузки

Имя. Описание
GenerateFluentApi(IProperty, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IModel, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IKey, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IIndex, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IEntityType, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IForeignKey, IAnnotation, String)
Устаревшие.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

GenerateFluentApi(IModel, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IKey, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IIndex, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IForeignKey, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IEntityType, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IProperty, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

GenerateFluentApi(IProperty, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (property As IProperty, annotation As IAnnotation, language As String) As String

Параметры

property
IProperty

Код IProperty , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IModel, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IModel, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IModel, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IModel, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (model As IModel, annotation As IAnnotation, language As String) As String

Параметры

model
IModel

Код IModel , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IKey, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IKey, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IKey, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IKey, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (key As IKey, annotation As IAnnotation, language As String) As String

Параметры

key
IKey

Код IKey , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IIndex, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IIndex, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IIndex, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IIndex, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (index As IIndex, annotation As IAnnotation, language As String) As String

Параметры

index
IIndex

Код IIndex , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IEntityType, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IEntityType, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IEntityType, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IEntityType, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation, language As String) As String

Параметры

entityType
IEntityType

Код IEntityType , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IForeignKey, IAnnotation, String)

Внимание!

Use GenerateFluentApi(IForeignKey, IAnnotation) instead.

Создает потоковые вызовы API для заданного IAnnotation языка программирования.

public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IForeignKey, IAnnotation) instead.")]
public string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IForeignKey, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation, language As String) As String

Параметры

foreignKey
IForeignKey

Код IForeignKey , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

language
String

Используемый язык программирования. Например, CSharp.

Возвращаемое значение

Созданный код.

Атрибуты

Применяется к

GenerateFluentApi(IModel, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

model
IModel

Код IModel , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к

GenerateFluentApi(IKey, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

key
IKey

Код IKey , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к

GenerateFluentApi(IIndex, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

index
IIndex

Код IIndex , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к

GenerateFluentApi(IForeignKey, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

foreignKey
IForeignKey

Код IForeignKey , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к

GenerateFluentApi(IEntityType, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

entityType
IEntityType

Код IEntityType , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к

GenerateFluentApi(IProperty, IAnnotation)

Создает полные вызовы API для заданного.IAnnotation

public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment

Параметры

property
IProperty

Код IProperty , для которого следует создать.

annotation
IAnnotation

Код IAnnotation , для которого следует создать.

Возвращаемое значение

Созданный код.

Применяется к