共用方式為


CSharpSnapshotGenerator.GenerateRelationships 方法

定義

多載

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

為 的 IEntityType 關聯性產生程式碼。

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

為 的 IEntityType 關聯性產生程式碼。

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs

為 的 IEntityType 關聯性產生程式碼。

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

參數

builderName
String

產生器變數的名稱。

entityType
IEntityType

實體類型。

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

建立器程式碼會新增至 。

適用於

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs

為 的 IEntityType 關聯性產生程式碼。

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

參數

builderNameentityTypeBuilderName
String

產生器變數的名稱。

entityType
IEntityType

實體類型。

stringBuilder
IndentedStringBuilder

建立器程式碼會新增至 。

適用於