ScaffoldingModelExtensions.GetFluentApiCalls Метод

Определение

Перегрузки

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки типа сущности.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Возвращает вызовы текучих API для настройки индекса.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки ключа.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Возвращает вызовы текучих API для настройки модели.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки свойства.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки последовательности.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Возвращает вызовы текучих API для настройки внешнего ключа.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки типа сущности.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (entityType As IEntityType, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

entityType
IEntityType

Тип сущности.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Возвращает вызовы текучих API для настройки индекса.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (index As IIndex, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

index
IIndex

Индекс.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки ключа.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (key As IKey, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

key
IKey

Ключ.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Возвращает вызовы текучих API для настройки модели.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (model As IModel, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

model
IModel

Модель.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки свойства.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (property As IProperty, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

property
IProperty

Свойство.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Возвращает текучие вызовы API для настройки последовательности.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (sequence As ISequence, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Параметры

sequence
ISequence

Последовательность.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

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

Вызовы текучих API.

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

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Возвращает вызовы текучих API для настройки внешнего ключа.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator, bool useStrings = false);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator * bool -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (foreignKey As IForeignKey, annotationCodeGenerator As IAnnotationCodeGenerator, Optional useStrings As Boolean = false) As FluentApiCodeFragment

Параметры

foreignKey
IForeignKey

Внешний ключ.

annotationCodeGenerator
IAnnotationCodeGenerator

Генератор кода заметок поставщика.

useStrings
Boolean

Значение , указывающее wheter на использование строковых перегрузок API fluent вместо перегрузок, которые принимают лямбда-метод доступа свойств.

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

Вызовы текучих API.

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