Export (0) Print
Expand All

DbComplexPropertyEntry<TEntity, TComplexProperty> Class

Entity Framework 5.0

Instances of this class are returned from the ComplexProperty method of DbEntityEntry<TEntity> and allow access to the state of a complex property.

System.Object
  System.Data.Entity.Infrastructure.DbMemberEntry<TEntity, TComplexProperty>
    System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity, TComplexProperty>
      System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public class DbComplexPropertyEntry<TEntity, TComplexProperty> : DbPropertyEntry<TEntity, TComplexProperty>
where TEntity : class

Type Parameters

TEntity

The type of the entity to which this property belongs.

TComplexProperty

The type of the entity to which this property belongs.

The DbComplexPropertyEntry<TEntity, TComplexProperty> type exposes the following members.

  NameDescription
Public propertyCurrentValueGets or sets the current value of this property. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Public propertyEntityEntryThe DbEntityEntry<TEntity> to which this property belongs. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Public propertyIsModifiedGets or sets a value indicating whether the value of this property has been modified since it was loaded from the database. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Public propertyNameGets the property name. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Public propertyOriginalValueGets or sets the original value of this property. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Public propertyParentPropertyThe DbPropertyEntry of the property for which this is a nested property. This method will only return a non-null entry for properties of complex objects; it will return null for properties of the entity itself. (Inherited from DbPropertyEntry<TEntity, TProperty>.)
Top

  NameDescription
Public methodComplexProperty(String)Gets an object that represents a nested complex property of this property.
Public methodComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty, TNestedComplexProperty>>)Gets an object that represents a nested complex property of this property.
Public methodComplexProperty<TNestedComplexProperty>(String)Gets an object that represents a nested complex property of this property.
Public methodEqualsReturns whether the specified query is equal to the current query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash function for the specified query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Public methodGetTypeGets the type for the current query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Public methodGetValidationErrorsValidates this property. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProperty(String)Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
Public methodProperty<TNestedProperty>(Expression<Func<TComplexProperty, TNestedProperty>>)Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
Public methodProperty<TNestedProperty>(String)Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
Public methodToStringReturns a string representation of the database property values. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Top

  NameDescription
Public operatorStatic memberImplicit(DbComplexPropertyEntry<TEntity, TComplexProperty> to DbComplexPropertyEntry)Returns a new instance of the non-generic DbComplexPropertyEntry class for the property represented by this object.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft