Compartir a través de


CSharpSnapshotGenerator.GenerateKey Método

Definición

Sobrecargas

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Genera código para un IKeyobjeto .

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Genera código para un IKeyobjeto .

GenerateKey(IKey, IndentedStringBuilder, Boolean)

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

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

Genera código para un IKeyobjeto .

protected virtual void GenerateKey (string builderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder, bool primary = false);
protected virtual void GenerateKey (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder, bool primary = false);
abstract member GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder * bool -> unit
override this.GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder * bool -> unit
abstract member GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder * bool -> unit
override this.GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder * bool -> unit
Protected Overridable Sub GenerateKey (builderName As String, key As IKey, stringBuilder As IndentedStringBuilder, Optional primary As Boolean = false)
Protected Overridable Sub GenerateKey (entityTypeBuilderName As String, key As IKey, stringBuilder As IndentedStringBuilder, Optional primary As Boolean = false)

Parámetros

builderNameentityTypeBuilderName
String

Nombre de la variable del generador.

key
IKey

Clave.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

primary
Boolean

Valor que indica si la clave es principal.

Se aplica a

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

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

Genera código para un IKeyobjeto .

protected virtual void GenerateKey (string builderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder, bool primary = false);
abstract member GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder * bool -> unit
override this.GenerateKey : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder * bool -> unit
Protected Overridable Sub GenerateKey (builderName As String, key As IKey, stringBuilder As IndentedStringBuilder, Optional primary As Boolean = false)

Parámetros

builderName
String

Nombre de la variable del generador.

key
IKey

Clave.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

El código del generador se agrega a .

primary
Boolean

Valor que indica si la clave es principal.

Se aplica a

GenerateKey(IKey, IndentedStringBuilder, Boolean)

protected virtual void GenerateKey (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder, bool primary = false);
abstract member GenerateKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder * bool -> unit
override this.GenerateKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder * bool -> unit
Protected Overridable Sub GenerateKey (key As IKey, stringBuilder As IndentedStringBuilder, Optional primary As Boolean = false)

Parámetros

key
IKey
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
primary
Boolean

Se aplica a