CSharpSnapshotGenerator.GenerateFluentApiForAnnotation Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder) |
Generiert einen Fluent-API-Aufruf für eine Anmerkung. |
GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder) |
Generiert einen Fluent-API-Aufruf für eine Anmerkung. |
GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder)
Generiert einen Fluent-API-Aufruf für eine Anmerkung.
protected virtual void GenerateFluentApiForAnnotation (ref System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, string annotationName, string fluentApiMethodName, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateFluentApiForAnnotation : List * string * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateFluentApiForAnnotation : List * string * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateFluentApiForAnnotation (ByRef annotations As List(Of IAnnotation), annotationName As String, fluentApiMethodName As String, stringBuilder As IndentedStringBuilder)
Parameter
- annotations
- List<IAnnotation>
Die Liste der Anmerkungen.
- annotationName
- String
Der Name der Anmerkung, für die Code generiert werden soll.
- fluentApiMethodName
- String
Der Name der Fluent-API-Methode.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Der Generatorcode wird hinzugefügt.
Gilt für:
GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder)
Generiert einen Fluent-API-Aufruf für eine Anmerkung.
protected virtual void GenerateFluentApiForAnnotation (ref System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, string annotationName, Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation,object> annotationValueFunc, string fluentApiMethodName, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateFluentApiForAnnotation : List * string * Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation, obj> * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateFluentApiForAnnotation : List * string * Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation, obj> * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateFluentApiForAnnotation (ByRef annotations As List(Of IAnnotation), annotationName As String, annotationValueFunc As Func(Of IAnnotation, Object), fluentApiMethodName As String, stringBuilder As IndentedStringBuilder)
Parameter
- annotations
- List<IAnnotation>
Die Liste der Anmerkungen.
- annotationName
- String
Der Name der Anmerkung, für die Code generiert werden soll.
- annotationValueFunc
- Func<IAnnotation,Object>
Ein Delegat zum Generieren des Werts aus der Anmerkung.
- fluentApiMethodName
- String
Der Name der Fluent-API-Methode.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Der Generatorcode wird hinzugefügt.
Gilt für:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für