CSharpSnapshotGenerator.GenerateProperties 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework