IAnnotationCodeGenerator.GenerateFluentApi Methode

Definition

Überlädt

GenerateFluentApi(IProperty, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IModel, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IKey, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IIndex, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IEntityType, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IForeignKey, IAnnotation, String)
Veraltet.

Generiert Fluent-API-Aufrufe für das in der angegebenen Programmiersprache angegebene IAnnotation .

GenerateFluentApi(IModel, IAnnotation)

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

GenerateFluentApi(IKey, IAnnotation)

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

GenerateFluentApi(IIndex, IAnnotation)

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

GenerateFluentApi(IForeignKey, IAnnotation)

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

GenerateFluentApi(IEntityType, IAnnotation)

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

GenerateFluentApi(IProperty, IAnnotation)

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

GenerateFluentApi(IProperty, IAnnotation, String)

Achtung

Use GenerateFluentApi(IProperty, IAnnotation) instead.

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

Parameter

property
IProperty

Die IProperty , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 das in der angegebenen Programmiersprache angegebene 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

Parameter

model
IModel

Die IModel , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 das in der angegebenen Programmiersprache angegebene 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

Parameter

key
IKey

Die IKey , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 das in der angegebenen Programmiersprache angegebene 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

Parameter

index
IIndex

Die IIndex , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 das in der angegebenen Programmiersprache angegebene 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

Parameter

entityType
IEntityType

Die IEntityType , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 das in der angegebenen Programmiersprache angegebene 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

Parameter

foreignKey
IForeignKey

Die IForeignKey , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die 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 die 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

Die IModel , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IKey, IAnnotation)

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

Die IKey , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IIndex, IAnnotation)

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

Die IIndex , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IForeignKey, IAnnotation)

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

Die IForeignKey , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IEntityType, IAnnotation)

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

Die IEntityType , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für:

GenerateFluentApi(IProperty, IAnnotation)

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

Die IProperty , für die Code generiert werden soll.

annotation
IAnnotation

Die IAnnotation , für die Code generiert werden soll.

Gibt zurück

Der generierte Code.

Gilt für: