共用方式為


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

建立器程式碼會新增至 。

適用於