Sdílet prostřednictvím


CSharpSnapshotGenerator.GenerateKey Metoda

Definice

Přetížení

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Vygeneruje kód pro IKey.

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Vygeneruje kód pro IKey.

GenerateKey(IKey, IndentedStringBuilder, Boolean)

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro IKey.

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)

Parametry

builderNameentityTypeBuilderName
String

Název proměnné tvůrce.

key
IKey

Klíč

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

primary
Boolean

Hodnota označující, zda je klíč primární.

Platí pro

GenerateKey(String, IKey, IndentedStringBuilder, Boolean)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro IKey.

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)

Parametry

builderName
String

Název proměnné tvůrce.

key
IKey

Klíč

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Kód tvůrce se přidá do.

primary
Boolean

Hodnota označující, zda je klíč primární.

Platí pro

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)

Parametry

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

Platí pro