DbComplexPropertyEntry<TEntity,TComplexProperty> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
-
DbPropertyEntry<TEntity,TComplexProperty>DbComplexPropertyEntry<TEntity,TComplexProperty>
- Attributes
Properties
CurrentValue |
Gets or sets the current value of this property. (Inherited from DbPropertyEntry<TEntity,TProperty>) |
EntityEntry |
The DbEntityEntry<TEntity> to which this property belongs. (Inherited from DbPropertyEntry<TEntity,TProperty>) |
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 |
Gets the property name. (Inherited from DbPropertyEntry<TEntity,TProperty>) |
OriginalValue |
Gets or sets the original value of this property. (Inherited from DbPropertyEntry<TEntity,TProperty>) |
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>) |
Methods
ComplexProperty(String) |
Gets an object that represents a nested complex property of this property. |
ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>) |
Gets an object that represents a nested complex property of this property. |
ComplexProperty<TNestedComplexProperty>(String) |
Gets an object that represents a nested complex property of this property. |
Equals(Object) | (Inherited from DbMemberEntry<TEntity,TProperty>) |
GetHashCode() | (Inherited from DbMemberEntry<TEntity,TProperty>) |
GetType() |
Gets the Type of the current instance. (Inherited from DbMemberEntry<TEntity,TProperty>) |
GetValidationErrors() |
Validates this property. (Inherited from DbMemberEntry<TEntity,TProperty>) |
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>>) |
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) |
Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties. |
ToString() | (Inherited from DbMemberEntry<TEntity,TProperty>) |
Operators
Implicit(DbComplexPropertyEntry<TEntity,TComplexProperty> to DbComplexPropertyEntry) |
Returns a new instance of the non-generic DbComplexPropertyEntry class for the property represented by this object. |
Applies to
Entity Framework