CSharpSnapshotGenerator.GenerateBaseType Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Entity Framework
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de