Sprache

CSharpSnapshotGenerator.GenerateComplexProperty Methode

Definition

Überlädt

GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder)

Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für ein 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)

Parameter

builderName
String

Der Name der Generatorvariable.

complexProperty
IComplexProperty

Der Objekttyp.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für:

GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters)

Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für ein 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)

Parameter

builderName
String

Der Name der Generatorvariable.

complexProperty
IComplexProperty

Der Objekttyp.

parameters
CSharpSnapshotGeneratorParameters

Der Generierungskontext.

Gilt für: