CSharpSnapshotGenerator.GenerateComplexProperties 方法

定义

IComplexProperty 对象生成代码。

protected virtual void GenerateComplexProperties (string typeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> properties, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateComplexProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateComplexProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateComplexProperties (typeBuilderName As String, properties As IEnumerable(Of IComplexProperty), stringBuilder As IndentedStringBuilder)

参数

typeBuilderName
String

生成器变量的名称。

properties
IEnumerable<IComplexProperty>

属性。

stringBuilder
IndentedStringBuilder

将生成器代码添加到 。

适用于