The EntityAspect type exposes the following members.
Methods
Name | Description | |
---|---|---|
AcceptChanges | ||
Attach |
Adds a newly created entity to its associated EntityManager.
|
|
Delete |
Marks this Entity for deletion; the EntityState becomes "Deleted".
|
|
Detach |
Removes the entity from the EntityManager cache.
|
|
Equals | (Overrides ObjectEquals(Object).) | |
ForceEntityPropertyChanged |
Forces a PropertyChanged event to be fired.
|
|
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
GetValidationErrors | (Overrides StructuralAspectGetValidationErrors(String).) | |
GetValue(String) | (Inherited from StructuralAspect.) | |
GetValue(StructuralProperty) | (Inherited from StructuralAspect.) | |
GetValue(DataProperty, EntityVersion) | (Inherited from StructuralAspect.) | |
HasChanges |
Determines whether this entity has any pending changes.
|
|
LoadNavigationProperty(String) | ||
LoadNavigationProperty(NavigationProperty) | ||
RejectChanges |
Rejects (rolls back) all changes to this Entity since it was queried or had AcceptChanges called on it.
|
|
SetValue(String, Object) | (Overrides StructuralAspectSetValue(String, Object).) | |
SetValue(StructuralProperty, Object) | ||
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Validate | (Inherited from StructuralAspect.) | |
ValidateProperty | (Inherited from StructuralAspect.) |
See Also