Partager via


CSharpSnapshotGenerator.GenerateNavigationAnnotations Méthode

Définition

Surcharges

GenerateNavigationAnnotations(INavigation, IndentedStringBuilder)

Génère du code pour les annotations sur une navigation.

GenerateNavigationAnnotations(String, INavigation, IndentedStringBuilder)

Génère du code pour les annotations sur une navigation.

GenerateNavigationAnnotations(INavigation, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs

Génère du code pour les annotations sur une navigation.

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

Paramètres

navigation
INavigation

Navigation.

stringBuilder
IndentedStringBuilder

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

S’applique à

GenerateNavigationAnnotations(String, INavigation, IndentedStringBuilder)

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

Génère du code pour les annotations sur une navigation.

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

Paramètres

navigationBuilderName
String

Nom de la variable de générateur.

navigation
INavigation

Navigation.

stringBuilder
IndentedStringBuilder

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

S’applique à