ScaffoldingModelExtensions.GetFluentApiCalls Metoda

Definicja

Przeciążenia

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania typu jednostki.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania indeksu.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania klucza.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania modelu.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania właściwości.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania sekwencji.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania klucza obcego.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania typu jednostki.

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

Parametry

entityType
IEntityType

Typ jednostki.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania indeksu.

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

Parametry

index
IIndex

Indeks.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania klucza.

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

Parametry

key
IKey

Klucz.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania modelu.

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

Parametry

model
IModel

Model.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania właściwości.

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

Parametry

property
IProperty

Właściwość.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania sekwencji.

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

Parametry

sequence
ISequence

Sekwencja.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Pobiera płynne wywołania interfejsu API w celu skonfigurowania klucza obcego.

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

Parametry

foreignKey
IForeignKey

Klucz obcy.

annotationCodeGenerator
IAnnotationCodeGenerator

Generator kodu adnotacji dostawcy.

useStrings
Boolean

Wartość wskazująca, że wheter używa ciągów płynnych przeciążeń interfejsu API zamiast tych, które przyjmują metodę dostępu właściwości lambda.

Zwraca

Płynne wywołania interfejsu API.

Dotyczy