Idioma

CSharpSnapshotGenerator.GenerateComplexProperty Método

Definição

Sobrecargas

GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para um 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)

Parâmetros

builderName
String

O nome da variável do construtor.

complexProperty
IComplexProperty

O tipo de entidade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado.

Aplica-se a

GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters)

Origem:
CSharpSnapshotGenerator.cs

Gera código para um 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)

Parâmetros

builderName
String

O nome da variável do construtor.

complexProperty
IComplexProperty

O tipo de entidade.

parameters
CSharpSnapshotGeneratorParameters

O contexto de geração.

Aplica-se a