Share via


CSharpSnapshotGenerator.GenerateProperties Method

Definition

Overloads

GenerateProperties(IEnumerable<IProperty>, IndentedStringBuilder)
GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

Generates code for IProperty objects.

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

Generates code for IProperty objects.

GenerateProperties(IEnumerable<IProperty>, IndentedStringBuilder)

protected virtual void GenerateProperties (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperties : seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperties : seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperties (properties As IEnumerable(Of IProperty), stringBuilder As IndentedStringBuilder)

Parameters

properties
IEnumerable<IProperty>
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Applies to

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

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

Generates code for IProperty objects.

protected virtual void GenerateProperties (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperties (builderName As String, properties As IEnumerable(Of IProperty), stringBuilder As IndentedStringBuilder)

Parameters

builderName
String

The name of the builder variable.

properties
IEnumerable<IProperty>

The properties.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

The builder code is added to.

Applies to

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

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

Generates code for IProperty objects.

protected virtual void GenerateProperties (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateProperties (string entityTypeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperties : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperties (builderName As String, properties As IEnumerable(Of IProperty), stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateProperties (entityTypeBuilderName As String, properties As IEnumerable(Of IProperty), stringBuilder As IndentedStringBuilder)

Parameters

builderNameentityTypeBuilderName
String

The name of the builder variable.

properties
IEnumerable<IProperty>

The properties.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to