Condividi tramite


CSharpSnapshotGenerator.GenerateRelationships Metodo

Definizione

Overload

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Genera il codice per le relazioni di un oggetto IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Genera il codice per le relazioni di un oggetto IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera il codice per le relazioni di un oggetto 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)

Parametri

builderName
String

Nome della variabile del generatore.

entityType
IEntityType

Tipo di entità.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera il codice per le relazioni di un oggetto 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)

Parametri

builderNameentityTypeBuilderName
String

Nome della variabile del generatore.

entityType
IEntityType

Tipo di entità.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a