Partilhar via


CSharpSnapshotGenerator.GenerateRelationships Método

Definição

Sobrecargas

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Gera código para as relações de um IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Gera código para as relações de um IEntityType.

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para as relações de um 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)

Parâmetros

builderName
String

O nome da variável do construtor.

entityType
IEntityType

O tipo de entidade.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateRelationships(String, IEntityType, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para as relações de um 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)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

entityType
IEntityType

O tipo de entidade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a