语言

DbComplexPropertyEntry 类

定义

[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
特性

属性

名称 说明
CurrentValue

获取或设置此属性的当前值。

(继承自 DbPropertyEntry)
EntityEntry

DbEntityEntry此属性所属的项。

(继承自 DbPropertyEntry)
IsModified

获取或设置一个值,该值指示自从数据库加载此属性以来是否已修改此属性的值。

(继承自 DbPropertyEntry)
Name

获取属性名称。

(继承自 DbPropertyEntry)
OriginalValue

获取或设置此属性的原始值。

(继承自 DbPropertyEntry)
ParentProperty

这是 DbPropertyEntry 嵌套属性的属性。 此方法仅返回复杂对象的属性的非 null 条目;它将为实体本身的属性返回 null。

(继承自 DbPropertyEntry)

方法

名称 说明
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)

适用于