CSharpSnapshotGenerator.GenerateComplexProperty Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Descrição |
|---|---|
| GenerateComplexProperty(String, IComplexProperty, IndentedStringBuilder) |
Gera código para um IComplexProperty. |
| GenerateComplexProperty(String, IComplexProperty, CSharpSnapshotGeneratorParameters) |
Gera código para um IComplexProperty. |
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.