次の方法で共有


CSharpSnapshotGenerator.GenerateForeignKeyAnnotations メソッド

定義

オーバーロード

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

外部キーの注釈のコードを生成します。

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

外部キーの注釈のコードを生成します。

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

外部キーの注釈のコードを生成します。

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

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

外部キーの注釈のコードを生成します。

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

パラメーター

foreignKey
IForeignKey

外部キー。

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

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

適用対象

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

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

外部キーの注釈のコードを生成します。

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

パラメーター

foreignKeyBuilderName
String

ビルダー変数の名前。

foreignKey
IForeignKey

外部キー。

stringBuilder
IndentedStringBuilder

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

適用対象

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs

外部キーの注釈のコードを生成します。

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

パラメーター

foreignKey
IForeignKey

外部キー。

stringBuilder
IndentedStringBuilder

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

適用対象