語言

DbComplexPropertyEntry 類別

定義

這是該 DbComplexPropertyEntry<TEntity,TComplexProperty> 類別的非通用版本。

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

屬性

名稱 Description
CurrentValue

取得或設定此屬性的當前值。

(繼承來源 DbPropertyEntry)
EntityEntry

DbEntityEntry這塊土地屬於那裡。

(繼承來源 DbPropertyEntry)
IsModified

取得或設定一個值,表示該屬性值自從從資料庫載入後是否已被修改。

(繼承來源 DbPropertyEntry)
Name

取得屬性名稱。

(繼承來源 DbPropertyEntry)
OriginalValue

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

(繼承來源 DbPropertyEntry)
ParentProperty

該性質的 為 DbPropertyEntry 該性質的巢狀性質。 此方法僅會回傳複雜物件屬性的非空條目;它會回傳 null 以回應實體本身的屬性。

(繼承來源 DbPropertyEntry)

方法

名稱 Description
Cast<TEntity,TComplexProperty>()

回傳等效的通用 DbComplexPropertyEntry<TEntity,TComplexProperty> 物件。

ComplexProperty(String)

取得一個代表該性質巢狀複數屬性的物件。

Equals(Object)

這是該 DbComplexPropertyEntry<TEntity,TComplexProperty> 類別的非通用版本。

(繼承來源 DbMemberEntry)
GetHashCode()

這是該 DbComplexPropertyEntry<TEntity,TComplexProperty> 類別的非通用版本。

(繼承來源 DbMemberEntry)
GetType()

取得目前實例的 Type。

(繼承來源 DbMemberEntry)
GetValidationErrors()

驗證了這個屬性。

(繼承來源 DbMemberEntry)
Property(String)

取得一個代表該屬性巢狀屬性的物件。 此方法可用於純量或複雜性質。

ToString()

這是該 DbComplexPropertyEntry<TEntity,TComplexProperty> 類別的非通用版本。

(繼承來源 DbMemberEntry)

適用於