CSharpSnapshotGenerator.GenerateNavigationAnnotations Method

Definition

Overloads

GenerateNavigationAnnotations(INavigation, IndentedStringBuilder)

Generates code for the annotations on a navigation.

GenerateNavigationAnnotations(String, INavigation, IndentedStringBuilder)

Generates code for the annotations on a navigation.

GenerateNavigationAnnotations(INavigation, IndentedStringBuilder)

Generates code for the annotations on a 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)

Parameters

navigation
INavigation

The navigation.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to

GenerateNavigationAnnotations(String, INavigation, IndentedStringBuilder)

Generates code for the annotations on a 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)

Parameters

navigationBuilderName
String

The name of the builder variable.

navigation
INavigation

The navigation.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to