Język

CSharpSnapshotGenerator.GenerateComplexProperties Method

Definition

Overloads

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Generates code for IComplexProperty objects.

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)

Parameters

typeBuilderName
String

The name of the builder variable.

properties
IEnumerable<IComplexProperty>

The properties.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to

GenerateComplexProperties(String, IEnumerable<IComplexProperty>, CSharpSnapshotGeneratorParameters)

Source:
CSharpSnapshotGenerator.cs

Generates code for IComplexProperty objects.

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)

Parameters

typeBuilderName
String

The name of the builder variable.

properties
IEnumerable<IComplexProperty>

The properties.

parameters
CSharpSnapshotGeneratorParameters

The generation context.

Applies to