次の方法で共有


CSharpSnapshotGenerator.GenerateKeys メソッド

定義

オーバーロード

GenerateKeys(IEnumerable<IKey>, IKey, IndentedStringBuilder)

protected virtual void GenerateKeys(System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)

パラメーター

primaryKey
IKey
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

適用対象

GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs

オブジェクトのコードを IKey 生成します。

protected virtual void GenerateKeys(string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (builderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)

パラメーター

builderName
String

ビルダー変数の名前。

keys
IEnumerable<IKey>

キー。

primaryKey
IKey

主キー。

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

ビルダー コードが に追加されます。

適用対象

GenerateKeys(String, IEnumerable<IKey>, IKey, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs

オブジェクトのコードを IKey 生成します。

protected virtual void GenerateKeys(string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey primaryKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateKeys(string entityTypeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IKey> keys, Microsoft.EntityFrameworkCore.Metadata.IKey? primaryKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IKey> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeys (builderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateKeys (entityTypeBuilderName As String, keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)

パラメーター

builderNameentityTypeBuilderName
String

ビルダー変数の名前。

keys
IEnumerable<IKey>

キー。

primaryKey
IKey

主キー。

stringBuilder
IndentedStringBuilder

ビルダー コードが に追加されます。

適用対象