CSharpSnapshotGenerator.GenerateKeys 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
GenerateKeys(IEnumerable<IKey>, IKey, IndentedStringBuilder) | |
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder) |
Gera código para IKey objetos . |
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder) |
Gera código para IKey objetos . |
GenerateKeys(IEnumerable<IKey>, IKey, IndentedStringBuilder)
protected virtual void GenerateKeys (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)
Parâmetros
- keys
- IEnumerable<IKey>
- primaryKey
- IKey
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Aplica-se a
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)
Gera código para IKey objetos .
protected virtual void GenerateKeys (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (builderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)
Parâmetros
- builderName
- String
O nome da variável do construtor.
- keys
- IEnumerable<IKey>
As chaves.
- primaryKey
- IKey
A chave principal.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
O código do construtor é adicionado a.
Aplica-se a
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)
Gera código para IKey objetos .
protected virtual void GenerateKeys (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateKeys (string entityTypeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey? primaryKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (builderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateKeys (entityTypeBuilderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)
Parâmetros
- builderNameentityTypeBuilderName
- String
O nome da variável do construtor.
- keys
- IEnumerable<IKey>
As chaves.
- primaryKey
- IKey
A chave principal.
- stringBuilder
- IndentedStringBuilder
O código do construtor é adicionado a.
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Entity Framework