Dil

ComplexPropertyBuilder<TComplex>.Property<TProperty> Yöntem

Tanım

Varlık türünün bir özelliğini yapılandırmak için kullanılabilecek bir nesne döndürür. Belirtilen özellik modelin bir parçası değilse eklenir.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> Property<TProperty>(System.Linq.Expressions.Expression<Func<TComplex,TProperty>> propertyExpression);
override this.Property : System.Linq.Expressions.Expression<Func<'Complex, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
Public Overridable Function Property(Of TProperty) (propertyExpression As Expression(Of Func(Of TComplex, TProperty))) As ComplexTypePropertyBuilder(Of TProperty)

Tür Parametreleri

TProperty

Parametreler

propertyExpression
Expression<Func<TComplex,TProperty>>

Yapılandırılacak özelliği temsil eden bir lambda ifadesi ( blog => blog.Url).

Döndürülenler

özelliğini yapılandırmak için kullanılabilecek bir nesne.

Şunlara uygulanır