CSharpSnapshotGenerator.GenerateComplexProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GenerateComplexProperties(String, IEnumerable<IComplexProperty>, IndentedStringBuilder)
為物件產生程式碼 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)
為物件產生程式碼 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
世代背景。