CSharpSnapshotGenerator.GeneratePropertyAnnotations 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
GeneratePropertyAnnotations(IProperty, IndentedStringBuilder) |
Generates code for the annotations on an IProperty. |
GeneratePropertyAnnotations(String, IProperty, IndentedStringBuilder) |
Generates code for the annotations on an IProperty. |
GeneratePropertyAnnotations(IProperty, IndentedStringBuilder) |
Generates code for the annotations on an IProperty. |
GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Generates code for the annotations on an IProperty.
protected virtual void GeneratePropertyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GeneratePropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyAnnotations (property As IProperty, stringBuilder As IndentedStringBuilder)
Parameters
- property
- IProperty
The property.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
GeneratePropertyAnnotations(String, IProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Generates code for the annotations on an IProperty.
protected virtual void GeneratePropertyAnnotations (string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyAnnotations (propertyBuilderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Parameters
- propertyBuilderName
- String
The name of the builder variable.
- property
- IProperty
The property.
- stringBuilder
- IndentedStringBuilder
The builder code is added to.
Applies to
GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
Generates code for the annotations on an IProperty.
protected virtual void GeneratePropertyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyAnnotations (property As IProperty, stringBuilder As IndentedStringBuilder)
Parameters
- property
- IProperty
The property.
- stringBuilder
- IndentedStringBuilder
The builder code is added to.
Applies to
Entity Framework