Compartir a través de


CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations Método

Definición

Genera código para las anotaciones en un IPropertyobjeto .

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)

Parámetros

propertyBuilderName
String

Nombre de la variable del generador.

property
IComplexProperty

Propiedad.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a