DbComplexPropertyEntry<TEntity,TComplexProperty> DbComplexPropertyEntry<TEntity,TComplexProperty> DbComplexPropertyEntry<TEntity,TComplexProperty> Class

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbComplexPropertyEntry<TEntity,TComplexProperty> : System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity,TComplexProperty> where TEntity : class
type DbComplexPropertyEntry<'Entity, 'ComplexProperty (requires 'Entity : null)> = class
    inherit DbPropertyEntry<'Entity, 'ComplexProperty (requires 'Entity : null)>
Public Class DbComplexPropertyEntry(Of TEntity, TComplexProperty)
Inherits DbPropertyEntry(Of TEntity, TComplexProperty)

Type Parameters

TEntity

The type of the entity to which this property belongs.

TComplexProperty

The type of the property.

Inheritance
DbComplexPropertyEntry<TEntity,TComplexProperty>DbComplexPropertyEntry<TEntity,TComplexProperty>DbComplexPropertyEntry<TEntity,TComplexProperty>
Attributes

Methods

ComplexProperty(String) ComplexProperty(String) ComplexProperty(String)

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

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

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

ComplexProperty<TNestedComplexProperty>(String) ComplexProperty<TNestedComplexProperty>(String) ComplexProperty<TNestedComplexProperty>(String)

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

Equals(Object) Equals(Object) Equals(Object) Inherited from DbMemberEntry<TEntity,TProperty>
GetHashCode() GetHashCode() GetHashCode() Inherited from DbMemberEntry<TEntity,TProperty>
GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from DbMemberEntry<TEntity,TProperty>)
GetValidationErrors() GetValidationErrors() GetValidationErrors()

Validates this property.

(Inherited from DbMemberEntry<TEntity,TProperty>)
Property(String) Property(String) Property(String)

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

Property<TNestedProperty>(Expression<Func<TComplexProperty,TNestedProperty>>) Property<TNestedProperty>(Expression<Func<TComplexProperty,TNestedProperty>>) Property<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.

Property<TNestedProperty>(String) Property<TNestedProperty>(String) Property<TNestedProperty>(String)

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

ToString() ToString() ToString() Inherited from DbMemberEntry<TEntity,TProperty>

Operators

Implicit(DbComplexPropertyEntry<TEntity,TComplexProperty> to DbComplexPropertyEntry) Implicit(DbComplexPropertyEntry<TEntity,TComplexProperty> to DbComplexPropertyEntry) Implicit(DbComplexPropertyEntry<TEntity,TComplexProperty> to DbComplexPropertyEntry)

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

Properties

CurrentValue CurrentValue CurrentValue

Gets or sets the current value of this property.

(Inherited from DbPropertyEntry<TEntity,TProperty>)
EntityEntry EntityEntry EntityEntry

The DbEntityEntry<TEntity> to which this property belongs.

(Inherited from DbPropertyEntry<TEntity,TProperty>)
IsModified IsModified IsModified

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>)
Name Name Name

Gets the property name.

(Inherited from DbPropertyEntry<TEntity,TProperty>)
OriginalValue OriginalValue OriginalValue

Gets or sets the original value of this property.

(Inherited from DbPropertyEntry<TEntity,TProperty>)
ParentProperty ParentProperty ParentProperty

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

Applies to