Condividi tramite


CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations Metodo

Definizione

Genera il codice per le annotazioni in un IPropertyoggetto .

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

Parametri

propertyBuilderName
String

Nome della variabile generatore.

property
IComplexProperty

Proprietà.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a