Compartir a través de


CSharpSnapshotGenerator.GenerateKeyAnnotations Método

Definición

Sobrecargas

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Genera código para las anotaciones en una clave.

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Genera código para las anotaciones en una clave.

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs

Genera código para las anotaciones en una clave.

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)

Parámetros

key
IKey

Clave.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Genera código para las anotaciones en una clave.

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)

Parámetros

keyBuilderName
String

Nombre de la variable del generador.

key
IKey

Clave.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a