共用方式為


DbPropertyEntry 類別

定義

類別的非泛型版本 DbPropertyEntry<TEntity,TProperty>

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbPropertyEntry : System.Data.Entity.Infrastructure.DbMemberEntry
public class DbPropertyEntry : System.Data.Entity.Infrastructure.DbMemberEntry
type DbPropertyEntry = class
    inherit DbMemberEntry
Public Class DbPropertyEntry
Inherits DbMemberEntry
繼承
DbPropertyEntry
衍生
屬性

屬性

CurrentValue

取得或設定這個屬性的目前值。

EntityEntry

DbEntityEntry這個屬性所屬的 。

IsModified

取得或設定值,指出這個屬性的值從資料庫載入之後是否已修改。

Name

取得屬性名稱。

OriginalValue

取得或設定這個屬性的原始值。

ParentProperty

這個 DbPropertyEntry 為巢狀屬性之屬性的 。 這個方法只會針對複雜物件的屬性傳回非 null 項目,否則它會針對實體本身的屬性傳回 null。

方法

Cast<TEntity,TProperty>()

傳回對等的泛型 DbPropertyEntry<TEntity,TProperty> 物件。

Equals(Object)

類別的非泛型版本 DbPropertyEntry<TEntity,TProperty>

(繼承來源 DbMemberEntry)
GetHashCode()

類別的非泛型版本 DbPropertyEntry<TEntity,TProperty>

(繼承來源 DbMemberEntry)
GetType()

取得目前執行個體的 Type

(繼承來源 DbMemberEntry)
GetValidationErrors()

驗證這個屬性。

(繼承來源 DbMemberEntry)
ToString()

類別的非泛型版本 DbPropertyEntry<TEntity,TProperty>

(繼承來源 DbMemberEntry)

適用於