CSharpSnapshotGenerator.GenerateRelationships Yöntem

Tanım

Aşırı Yüklemeler

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

İlişki için kod üretir IEntityType .

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

İlişki için kod üretir IEntityType .

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

İlişki için kod üretir 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)

Parametreler

builderNameentityTypeBuilderName
String

Oluşturucu değişkeninin adı.

entityType
IEntityType

Varlık türü.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

İlişki için kod üretir 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)

Parametreler

builderName
String

Oluşturucu değişkeninin adı.

entityType
IEntityType

Varlık türü.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır