CSharpSnapshotGenerator.GenerateNavigationAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Source:
- CSharpSnapshotGenerator.cs
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)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework