Partilhar via


CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations Método

Definição

Gera código para anotações de substituições de propriedade.

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

Parâmetros

propertyBuilderName
String

O nome da variável do construtor.

overrides
IRelationalPropertyOverrides

As substituições.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a