CSharpSnapshotGenerator.GenerateBaseType Yöntem

Tanım

Aşırı Yüklemeler

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Öğesinin temel türü için kod üretir IEntityType .

GenerateBaseType(IEntityType, IndentedStringBuilder)
GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Öğesinin temel türü için kod üretir IEntityType .

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Öğesinin temel türü için kod üretir IEntityType .

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

Parametreler

builderNameentityTypeBuilderName
String

Oluşturucu değişkeninin adı.

baseType
IEntityType

Temel varlık türü.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır

GenerateBaseType(IEntityType, IndentedStringBuilder)

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

Parametreler

baseType
IEntityType
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Şunlara uygulanır

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Öğesinin temel türü için kod üretir IEntityType .

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

Parametreler

builderName
String

Oluşturucu değişkeninin adı.

baseType
IEntityType

Temel varlık türü.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır