Sdílet prostřednictvím


CSharpSnapshotGenerator.GenerateRelationships Metoda

Definice

Přetížení

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Vygeneruje kód pro relace objektu IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Vygeneruje kód pro relace objektu IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro relace objektu 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

Název proměnné tvůrce.

entityType
IEntityType

Typ entity.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro relace objektu 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

Název proměnné tvůrce.

entityType
IEntityType

Typ entity.

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro