CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations Method

Definition

Generates code for the annotations on an IProperty.

protected virtual void GenerateComplexPropertyAnnotations (string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateComplexPropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateComplexPropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateComplexPropertyAnnotations (propertyBuilderName As String, property As IComplexProperty, stringBuilder As IndentedStringBuilder)

Parameters

propertyBuilderName
String

The name of the builder variable.

property
IComplexProperty

The property.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to