Idioma

CSharpSnapshotGenerator.GenerateComplexProperties Método

Definição

Sobrecargas

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, IndentedStringBuilder)

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

Gera código para IComplexProperty objetos.

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)

Parâmetros

typeBuilderName
String

O nome da variável do construtor.

properties
IEnumerable<IComplexProperty>

As propriedades.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado.

Aplica-se a

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, CSharpSnapshotGeneratorParameters)

Origem:
CSharpSnapshotGenerator.cs

Gera código para IComplexProperty objetos.

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)

Parâmetros

typeBuilderName
String

O nome da variável do construtor.

properties
IEnumerable<IComplexProperty>

As propriedades.

parameters
CSharpSnapshotGeneratorParameters

O contexto de geração.

Aplica-se a