Condividi tramite


CSharpSnapshotGenerator.GenerateKeys Metodo

Definizione

Overload

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)

Parametri

primaryKey
IKey
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Si applica a

GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera codice per IKey gli oggetti.

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)

Parametri

builderName
String

Nome della variabile generatore.

keys
IEnumerable<IKey>

Chiavi.

primaryKey
IKey

Chiave primaria.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a

GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera codice per IKey gli oggetti.

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)

Parametri

builderNameentityTypeBuilderName
String

Nome della variabile generatore.

keys
IEnumerable<IKey>

Chiavi.

primaryKey
IKey

Chiave primaria.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a