Share via


CSharpSnapshotGenerator.GenerateComplexProperty Method

Definition

Generates code for an IComplexProperty.

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

Parameters

builderName
String

The name of the builder variable.

complexProperty
IComplexProperty

The entity type.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to