Sprache

IAnnotationCodeGenerator.GenerateFluentApi Methode

Definition

Überlädt

Name Beschreibung
GenerateFluentApi(IProperty, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IModel, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IKey, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IIndex, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IEntityType, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IForeignKey, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

GenerateFluentApi(IModel, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IKey, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IIndex, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IForeignKey, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IEntityType, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IProperty, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene IAnnotation.

GenerateFluentApi(IProperty, IAnnotation, String)

Achtung

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

property
IProperty

Der IProperty Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IModel, IAnnotation, String)

Achtung

Use GenerateFluentApi(IModel, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

model
IModel

Der IModel Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IKey, IAnnotation, String)

Achtung

Use GenerateFluentApi(IKey, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

key
IKey

Der IKey Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IIndex, IAnnotation, String)

Achtung

Use GenerateFluentApi(IIndex, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

index
IIndex

Der IIndex Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IEntityType, IAnnotation, String)

Achtung

Use GenerateFluentApi(IEntityType, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

entityType
IEntityType

Der IEntityType Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IForeignKey, IAnnotation, String)

Achtung

Use GenerateFluentApi(IForeignKey, IAnnotation) instead.

Generiert Fluent-API-Aufrufe für die angegebene IAnnotation Programmiersprache.

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

Parameter

foreignKey
IForeignKey

Der IForeignKey Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

language
String

Die zu verwendende Programmiersprache. Beispiel: CSharp.

Gibt zurück

Der generierte Code.

Attribute

Gilt für:

GenerateFluentApi(IModel, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

model
IModel

Der IModel Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IKey, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

key
IKey

Der IKey Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IIndex, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

index
IIndex

Der IIndex Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IForeignKey, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

foreignKey
IForeignKey

Der IForeignKey Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IEntityType, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

entityType
IEntityType

Der IEntityType Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IProperty, IAnnotation)

Generiert Fluent-API-Aufrufe für das angegebene 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

Parameter

property
IProperty

Der IProperty Code, für den code generiert werden soll.

annotation
IAnnotation

Der IAnnotation Code, für den code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für: