Condividi tramite


CSharpSnapshotGenerator.GenerateKeyAnnotations Metodo

Definizione

Overload

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Genera il codice per le annotazioni in una chiave.

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Genera il codice per le annotazioni in una chiave.

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs

Genera il codice per le annotazioni in una chiave.

protected virtual void GenerateKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (key As IKey, stringBuilder As IndentedStringBuilder)

Parametri

key
IKey

Chiave.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

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

Genera il codice per le annotazioni in una chiave.

protected virtual void GenerateKeyAnnotations (string keyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (keyBuilderName As String, key As IKey, stringBuilder As IndentedStringBuilder)

Parametri

keyBuilderName
String

Nome della variabile del generatore.

key
IKey

Chiave.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a