共用方式為


CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations 方法

定義

為 上的 IProperty 批註產生程式碼。

protected virtual void GenerateComplexPropertyAnnotations (string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateComplexPropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateComplexPropertyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateComplexPropertyAnnotations (propertyBuilderName As String, property As IComplexProperty, stringBuilder As IndentedStringBuilder)

參數

propertyBuilderName
String

產生器變數的名稱。

property
IComplexProperty

屬性。

stringBuilder
IndentedStringBuilder

建立器程式碼會新增至 。

適用於