Lingua

CSharpSnapshotGenerator.GenerateComplexProperty Metodo

Definizione

Overload

GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera il codice per un oggetto 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)

Parametri

builderName
String

Nome della variabile builder.

complexProperty
IComplexProperty

Il tipo di entità.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a

GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters)

Origine:
CSharpSnapshotGenerator.cs

Genera il codice per un oggetto 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)

Parametri

builderName
String

Nome della variabile builder.

complexProperty
IComplexProperty

Il tipo di entità.

parameters
CSharpSnapshotGeneratorParameters

Contesto di generazione.

Si applica a