Compartilhar via


CSharpSnapshotGenerator.GenerateBaseType Método

Definição

Sobrecargas

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Gera código para o tipo base de um IEntityType.

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

Gera código para o tipo base de um IEntityType.

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Gera código para o tipo base de um 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)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

baseType
IEntityType

O tipo base de entidade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

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)

Parâmetros

baseType
IEntityType
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Aplica-se a

GenerateBaseType(String, IEntityType, IndentedStringBuilder)

Gera código para o tipo base de um 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)

Parâmetros

builderName
String

O nome da variável do construtor.

baseType
IEntityType

O tipo base de entidade.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a