Bagikan melalui


EntityEntry<TEntity>.Property Metode

Definisi

Overload

Property<TProperty>(IProperty)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

Property<TProperty>(Expression<Func<TEntity,TProperty>>)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

Property<TProperty>(String)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

Property<TProperty>(IProperty)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
override this.Property : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (property As IProperty) As PropertyEntry(Of TEntity, TProperty)

Jenis parameter

TProperty

Jenis properti.

Parameter

property
IProperty

Properti untuk mengakses informasi dan operasi.

Mengembalikan

Objek yang mengekspos informasi dan operasi pelacakan perubahan untuk properti tertentu.

Keterangan

Lihat Mengakses entitas terlacak di EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

Property<TProperty>(Expression<Func<TEntity,TProperty>>)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression);
override this.Property : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As PropertyEntry(Of TEntity, TProperty)

Jenis parameter

TProperty

Parameter

propertyExpression
Expression<Func<TEntity,TProperty>>

Ekspresi lambda yang mewakili properti untuk mengakses informasi dan operasi.

Mengembalikan

Objek yang mengekspos informasi dan operasi pelacakan perubahan untuk properti tertentu.

Keterangan

Lihat Mengakses entitas terlacak di EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

Property<TProperty>(String)

Menyediakan akses ke informasi dan operasi pelacakan perubahan untuk properti tertentu dari entitas ini.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (string propertyName);
override this.Property : string -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (propertyName As String) As PropertyEntry(Of TEntity, TProperty)

Jenis parameter

TProperty

Jenis properti.

Parameter

propertyName
String

Properti untuk mengakses informasi dan operasi.

Mengembalikan

Objek yang mengekspos informasi dan operasi pelacakan perubahan untuk properti tertentu.

Keterangan

Lihat Mengakses entitas terlacak di EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk