Condividi tramite


CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations Metodo

Definizione

Genera il codice per le annotazioni delle proprietà.

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)

Parametri

propertyBuilderName
String

Nome della variabile del generatore.

overrides
IRelationalPropertyOverrides

Sostituzioni.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a .

Si applica a