共用方式為


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

建立器程式碼會新增至 。

適用於