Compartilhar via


CSharpSnapshotGenerator.GeneratePropertyAnnotations Método

Definição

Sobrecargas

GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para as anotações em um IProperty.

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

Parâmetros

property
IProperty

A propriedade.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GeneratePropertyAnnotations(String, IProperty, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs
Origem:
CSharpSnapshotGenerator.cs

Gera código para as anotações em um IProperty.

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

Parâmetros

propertyBuilderName
String

O nome da variável do construtor.

property
IProperty

A propriedade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)

Origem:
CSharpSnapshotGenerator.cs

Gera código para as anotações em um IProperty.

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

Parâmetros

property
IProperty

A propriedade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a