CSharpSnapshotGenerator.GenerateKey Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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