Compartilhar via


CSharpSnapshotGenerator.GenerateProperties Método

Definição

Sobrecargas

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

Gera código para IProperty objetos .

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

Gera código para IProperty objetos .

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)

Parâmetros

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

Aplica-se a

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

Gera código para IProperty objetos .

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)

Parâmetros

builderName
String

O nome da variável do construtor.

properties
IEnumerable<IProperty>

As propriedades.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateProperties(String, IEnumerable<IProperty>, IndentedStringBuilder)

Gera código para IProperty objetos .

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)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

properties
IEnumerable<IProperty>

As propriedades.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a