CSharpSnapshotGenerator.GenerateEntityType Yöntem

Tanım

Aşırı Yüklemeler

GenerateEntityType(String, IEntityType, IndentedStringBuilder)

İçin kod üretir IEntityType .

GenerateEntityType(String, IEntityType, IndentedStringBuilder)

İçin kod üretir IEntityType .

GenerateEntityType(String, IEntityType, IndentedStringBuilder)

İçin kod üretir IEntityType .

protected virtual void GenerateEntityType (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateEntityType (string modelBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateEntityType (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateEntityType (modelBuilderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

Parametreler

builderNamemodelBuilderName
String

Oluşturucu değişkeninin adı.

entityType
IEntityType

Varlık türü.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır

GenerateEntityType(String, IEntityType, IndentedStringBuilder)

İçin kod üretir IEntityType .

protected virtual void GenerateEntityType (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateEntityType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateEntityType (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

Parametreler

builderName
String

Oluşturucu değişkeninin adı.

entityType
IEntityType

Varlık türü.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır