Partager via


CSharpSnapshotGenerator.GenerateRelationships Méthode

Définition

Surcharges

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Génère du code pour les relations d’un IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Génère du code pour les relations d’un IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour les relations d’un 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)

Paramètres

builderName
String

Nom de la variable de générateur.

entityType
IEntityType

Type d'entité.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour les relations d’un 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)

Paramètres

builderNameentityTypeBuilderName
String

Nom de la variable de générateur.

entityType
IEntityType

Type d'entité.

stringBuilder
IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à