CSharpSnapshotGenerator.GenerateComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生 的程式 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
建立器程式碼會新增至 。