Compartilhar via


CSharpSnapshotGenerator.GenerateNavigation Método

Definição

Gera código para um INavigation.

protected virtual void GenerateNavigation (string builderName, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateNavigation (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateNavigation : string * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateNavigation : string * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateNavigation : string * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateNavigation : string * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateNavigation (builderName As String, navigation As INavigation, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateNavigation (entityTypeBuilderName As String, navigation As INavigation, stringBuilder As IndentedStringBuilder)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

navigation
INavigation

A navegação.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a