Language

CSharpSnapshotGenerator.GenerateComplexProperty メソッド

定義

オーバーロード

GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder)

ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs
ソース:
CSharpSnapshotGenerator.cs

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

ビルダー コードが追加されます。

適用対象

GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters)

ソース:
CSharpSnapshotGenerator.cs

IComplexPropertyのコードを生成します。

protected virtual void GenerateComplexProperty(string builderName, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters parameters);
abstract member GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
override this.GenerateComplexProperty : string * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorParameters -> unit
Protected Overridable Sub GenerateComplexProperty (builderName As String, complexProperty As IComplexProperty, parameters As CSharpSnapshotGeneratorParameters)

パラメーター

builderName
String

ビルダー変数の名前。

complexProperty
IComplexProperty

エンティティ型。

parameters
CSharpSnapshotGeneratorParameters

生成コンテキスト。

適用対象