CSharpSnapshotGenerator.GenerateFluentApiForAnnotation Yöntem

Tanım

Aşırı Yüklemeler

GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder)

ek açıklama için Fluent apı çağrıları üretir.

GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder)

ek açıklama için Fluent apı çağrıları üretir.

GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder)

ek açıklama için Fluent apı çağrıları üretir.

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)

Parametreler

annotations
List<IAnnotation>

Ek açıklamaların listesi.

annotationName
String

Kod oluşturulacak ek açıklamanın adı.

fluentApiMethodName
String

Fluent apı yöntemi adı.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır

GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder)

ek açıklama için Fluent apı çağrıları üretir.

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)

Parametreler

annotations
List<IAnnotation>

Ek açıklamaların listesi.

annotationName
String

Kod oluşturulacak ek açıklamanın adı.

annotationValueFunc
Func<IAnnotation,Object>

Ek açıklamanın değerini oluşturmak için bir temsilci.

fluentApiMethodName
String

Fluent apı yöntemi adı.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır