Bagikan melalui


OwnedNavigationViewBuilder<TOwnerEntity,TDependentEntity>.Property<TProperty> Metode

Definisi

Memetakan properti ke kolom pada tampilan saat ini dan mengembalikan objek yang dapat digunakan untuk menyediakan konfigurasi khusus tampilan jika properti dipetakan ke lebih dari satu tampilan.

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

Jenis parameter

TProperty

Parameter

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

Ekspresi lambda yang mewakili properti yang akan dikonfigurasi (blog => blog.Url).

Mengembalikan

Objek yang dapat digunakan untuk mengonfigurasi properti.

Berlaku untuk