CSharpSnapshotGenerator.GenerateComplexProperty 方法

定义

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)

参数

builderName
String

生成器变量的名称。

complexProperty
IComplexProperty

实体类型。

stringBuilder
IndentedStringBuilder

将生成器代码添加到 。

适用于