CSharpSnapshotGenerator.GenerateEntityTypeNavigations(String, IEntityType, IndentedStringBuilder) Yöntem

Tanım

Bir öğesinin gezginlerini için kod üretir IEntityType .

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

Parametreler

builderNamemodelBuilderName
String

Oluşturucu değişkeninin adı.

entityType
IEntityType

Varlık türü.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır