CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations 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.
Generates code for property overrides annotations.
protected virtual void GeneratePropertyOverridesAnnotations (string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyOverridesAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyOverridesAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyOverridesAnnotations (propertyBuilderName As String, overrides As IRelationalPropertyOverrides, stringBuilder As IndentedStringBuilder)
Parameters
- propertyBuilderName
- String
The name of the builder variable.
- overrides
- IRelationalPropertyOverrides
The overrides.
- 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