Udostępnij za pośrednictwem


CSharpSnapshotGenerator.GenerateRelationships Metoda

Definicja

Przeciążenia

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs

Generuje kod dla relacji elementu 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)

Parametry

builderName
String

Nazwa zmiennej konstruktora.

entityType
IEntityType

Typ jednostki.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Kod konstruktora jest dodawany do elementu .

Dotyczy

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs

Generuje kod dla relacji elementu 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)

Parametry

builderNameentityTypeBuilderName
String

Nazwa zmiennej konstruktora.

entityType
IEntityType

Typ jednostki.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do elementu .

Dotyczy