Compartilhar via


CSharpSnapshotGenerator.GenerateProperty Método

Definição

Sobrecargas

GenerateProperty(IProperty, IndentedStringBuilder)
GenerateProperty(String, IProperty, IndentedStringBuilder)

Gera código para um IProperty.

GenerateProperty(String, IProperty, IndentedStringBuilder)

Gera código para um IProperty.

GenerateProperty(IProperty, IndentedStringBuilder)

protected virtual void GenerateProperty (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (property As IProperty, stringBuilder As IndentedStringBuilder)

Parâmetros

property
IProperty
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Aplica-se a

GenerateProperty(String, IProperty, IndentedStringBuilder)

Gera código para um IProperty.

protected virtual void GenerateProperty (string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)

Parâmetros

builderName
String

O nome da variável do construtor.

property
IProperty

A propriedade.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateProperty(String, IProperty, IndentedStringBuilder)

Gera código para um IProperty.

protected virtual void GenerateProperty (string builderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateProperty (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateProperty : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateProperty (builderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateProperty (entityTypeBuilderName As String, property As IProperty, stringBuilder As IndentedStringBuilder)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

property
IProperty

A propriedade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a