CSharpSnapshotGenerator.GenerateComplexProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GenerateComplexProperties(String, IEnumerable<IComplexProperty>, IndentedStringBuilder) |
Generates code for IComplexProperty objects. |
| GenerateComplexProperties(String, IEnumerable<IComplexProperty>, CSharpSnapshotGeneratorParameters) |
Generates code for IComplexProperty objects. |
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.