Compartilhar via


CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Método

Definição

Sobrecargas

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

protected virtual void GenerateForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Parâmetros

foreignKey
IForeignKey

A chave estrangeira.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

protected virtual void GenerateForeignKeyAnnotations (string foreignKeyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKeyBuilderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Parâmetros

foreignKeyBuilderName
String

O nome da variável do construtor.

foreignKey
IForeignKey

A chave estrangeira.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Gera código para as anotações em uma chave estrangeira.

protected virtual void GenerateForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Parâmetros

foreignKey
IForeignKey

A chave estrangeira.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a