Język

CSharpSnapshotGenerator.GenerateComplexPropertyAnnotations Metoda

Definicja

Generuje kod adnotacji w obiekcie 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)

Parametry

propertyBuilderName
String

Nazwa zmiennej konstruktora.

property
IComplexProperty

Właściwość.

stringBuilder
IndentedStringBuilder

Dodawany jest kod konstruktora.

Dotyczy