Compartilhar via


CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations Método

Definição

Gera código para as anotações em um IProperty.

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

O nome da variável do construtor.

property
IComplexProperty

A propriedade.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a