語言

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

建築師代碼會被加入。

適用於