ScaffoldingModelExtensions.GetFluentApiCalls Methode

Definition

Überlädt

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Entitätstyps ab.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um einen Index zu konfigurieren.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Schlüssels ab.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Modells ab.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um eine Eigenschaft zu konfigurieren.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um eine Sequenz zu konfigurieren.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Ruft die Fluent-API-Aufrufe ab, um einen Fremdschlüssel zu konfigurieren.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Entitätstyps ab.

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

Parameter

entityType
IEntityType

Der Entitätstyp.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um einen Index zu konfigurieren.

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

Parameter

index
IIndex

Der Index.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Schlüssels ab.

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

Parameter

key
IKey

Der Schlüssel.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe zum Konfigurieren eines Modells ab.

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

Parameter

model
IModel

Das Modell.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um eine Eigenschaft zu konfigurieren.

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

Parameter

property
IProperty

Die Eigenschaft.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Ruft die Fluent-API-Aufrufe ab, um eine Sequenz zu konfigurieren.

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

Parameter

sequence
ISequence

Die Sequenz.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für:

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Ruft die Fluent-API-Aufrufe ab, um einen Fremdschlüssel zu konfigurieren.

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

Parameter

foreignKey
IForeignKey

Der Fremdschlüssel.

annotationCodeGenerator
IAnnotationCodeGenerator

Der Anmerkungscodegenerator des Anbieters.

useStrings
Boolean

Ein -Wert, der angibt, dass wheter Zeichenfolgen-Fluent-API-Überladungen anstelle von Überladungen verwenden, die ein Eigenschaftenaccessor-Lambda verwenden.

Gibt zurück

Die Fluent-API ruft auf.

Gilt für: