DbComplexPropertyEntry<TEntity, TComplexProperty> Class

 

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

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

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

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 property.

NameDescription
System_CAPS_pubpropertyCurrentValue

Gets or sets the current value of this property.(Inherited from DbPropertyEntry<TEntity, TProperty>.)

System_CAPS_pubpropertyEntityEntry

The DbEntityEntry<TEntity> to which this property belongs.(Inherited from DbPropertyEntry<TEntity, TProperty>.)

System_CAPS_pubpropertyIsModified

Gets 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>.)

System_CAPS_pubpropertyName

Gets the property name.(Inherited from DbPropertyEntry<TEntity, TProperty>.)

System_CAPS_pubpropertyOriginalValue

Gets or sets the original value of this property.(Inherited from DbPropertyEntry<TEntity, TProperty>.)

System_CAPS_pubpropertyParentProperty

The 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>.)

NameDescription
System_CAPS_pubmethodComplexProperty(String)

Gets an object that represents a nested complex property of this property.

System_CAPS_pubmethodComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty, TNestedComplexProperty>>)

Gets an object that represents a nested complex property of this property.

System_CAPS_pubmethodComplexProperty<TNestedComplexProperty>(String)

Gets an object that represents a nested complex property of this property.

System_CAPS_pubmethodEquals(Object)

Specifies whether the object is equal to the specified object.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code associated with the object.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_pubmethodGetValidationErrors()

Validates this property.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperty(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

System_CAPS_pubmethodProperty<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.

System_CAPS_pubmethodProperty<TNestedProperty>(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

System_CAPS_pubmethodToString()

Returns a string representation of DbMemberEntry<TEntity, TProperty>.(Inherited from DbMemberEntry<TEntity, TProperty>.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticImplicit(DbComplexPropertyEntry<TEntity, TComplexProperty> to DbComplexPropertyEntry)

Returns a new instance of the non-generic DbComplexPropertyEntry class for the property represented by this object.

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