Sprache

CSharpSnapshotGenerator.GenerateRelationships Methode

Definition

Überlädt

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für die Beziehungen eines 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)

Parameter

builderName
String

Der Name der Generatorvariable.

entityType
IEntityType

Der Objekttyp.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für:

GenerateRelationships(String, IEntityType, CSharpSnapshotGeneratorParameters)

Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für die Beziehungen eines IEntityType.

protected virtual void GenerateRelationships(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters parameters);
abstract member GenerateRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
override this.GenerateRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
Protected Overridable Sub GenerateRelationships (entityTypeBuilderName As String, entityType As IEntityType, parameters As CSharpSnapshotGeneratorParameters)

Parameter

entityTypeBuilderName
String

Der Name der Generatorvariable.

entityType
IEntityType

Der Objekttyp.

parameters
CSharpSnapshotGeneratorParameters

Der Generierungskontext.

Gilt für:

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für die Beziehungen eines IEntityType.

protected virtual void GenerateRelationships(string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateRelationships(string builderName, 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 (entityTypeBuilderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateRelationships (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

Parameter

builderNameentityTypeBuilderName
String

Der Name der Generatorvariable.

entityType
IEntityType

Der Objekttyp.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: