次の方法で共有


CSharpSnapshotGenerator.GenerateForeignKey メソッド

定義

オーバーロード

GenerateForeignKey(String, IForeignKey, IndentedStringBuilder)

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

のコードを IForeignKey生成します。

protected virtual void GenerateForeignKey(string builderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateForeignKey(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKey (builderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateForeignKey (entityTypeBuilderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

パラメーター

builderNameentityTypeBuilderName
String

ビルダー変数の名前。

foreignKey
IForeignKey

外部キー。

stringBuilder
IndentedStringBuilder

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

適用対象

GenerateForeignKey(IForeignKey, IndentedStringBuilder)

protected virtual void GenerateForeignKey(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKey : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKey : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKey (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

パラメーター

foreignKey
IForeignKey
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

適用対象

GenerateForeignKey(String, IForeignKey, IndentedStringBuilder)

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

のコードを IForeignKey生成します。

protected virtual void GenerateForeignKey(string builderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKey : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKey (builderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

パラメーター

builderName
String

ビルダー変数の名前。

foreignKey
IForeignKey

外部キー。

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

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

適用対象