CSharpSnapshotGenerator.GenerateKeys Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GenerateKeys(IEnumerable<IKey>, IKey, IndentedStringBuilder) | |
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder) |
Génère du code pour IKey les objets. |
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder) |
Génère du code pour IKey les objets. |
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)
Paramètres
- keys
- IEnumerable<IKey>
- primaryKey
- IKey
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
S’applique à
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour IKey les objets.
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)
Paramètres
- builderName
- String
Nom de la variable de générateur.
- keys
- IEnumerable<IKey>
Clés.
- primaryKey
- IKey
Clé primaire.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Génère du code pour IKey les objets.
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)
Paramètres
- builderNameentityTypeBuilderName
- String
Nom de la variable de générateur.
- keys
- IEnumerable<IKey>
Clés.
- primaryKey
- IKey
Clé primaire.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.