Compartir a través de


CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations Método

Definición

Genera código para las anotaciones de invalidaciones de propiedad.

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

Nombre de la variable del generador.

overrides
IRelationalPropertyOverrides

Invalidaciones.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a