語言

CSharpSnapshotGenerator.GenerateComplexProperties 方法

定義

多載

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, IndentedStringBuilder)

來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs
來源:
CSharpSnapshotGenerator.cs

為物件產生程式碼 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

建築師代碼會被加入。

適用於

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, CSharpSnapshotGeneratorParameters)

來源:
CSharpSnapshotGenerator.cs

為物件產生程式碼 IComplexProperty 。

protected virtual void GenerateComplexProperties(string typeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> properties, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters parameters);
abstract member GenerateComplexProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
override this.GenerateComplexProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IComplexProperty> * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
Protected Overridable Sub GenerateComplexProperties (typeBuilderName As String, properties As IEnumerable(Of IComplexProperty), parameters As CSharpSnapshotGeneratorParameters)

參數

typeBuilderName
String

建構變數的名稱。

properties
IEnumerable<IComplexProperty>

屬性。

parameters
CSharpSnapshotGeneratorParameters

世代背景。

適用於