DevForce Help Reference
EntityAspect Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by EntityAspect.

Public Constructors
 NameDescription
Public ConstructorEntityAspect Constructor  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)AllErrors'Magic' string that can be used to return all errors from System.ComponentModel.INotifyDataErrorInfo.GetErrors(System.String).  
Top
Public Properties
 NameDescription
Public PropertyEntity Returns the wrapped entity.  
Public PropertyEntityGroupThe EntityGroup that this Entity belongs to.  
Public PropertyEntityKeyThe EntityKey for this entity.  
Public PropertyEntityManagerThe EntityManager that manages this entity.  
Public PropertyEntityMetadataThe EntityMetadata for this Entity.  
Public PropertyEntitySetName The name of the Entity Framework EntitySet containing this entity.  
Public PropertyEntityStateThe EntityState of this entity.  
Public PropertyIsChanged Whether any changes have been made to this entity.  
Public PropertyIsNullEntity Returns whether the current instance is a null entity.  
Public PropertyIsNullOrPendingEntity Returns whether the current instance is a null entity or a pending entity.  
Public PropertyIsPendingEntity Returns whether the current instance is a pending entity.  
Public PropertySerializationContext For internal use only.  
Public PropertyValidationErrors A collection of verification errors currently present on the associated Entity.  
Public PropertyVerifierEngineGets the IdeaBlade.Validation.VerifierEngine shared by all entities within the same EntityManager.  
Top
Public Methods
 NameDescription
Public MethodAcceptChanges Accepts all changes to this Entity, returning the EntityState to Unchanged.  
Public MethodAddToManagerOverloaded. Adds a newly created entity to its associated EntityManager.  
Public MethodCloneCore For internal use only. Makes a copy of the entity; it does not copy related entities.  
Public MethodCompareToBase implementation of System.IComparable.CompareTo(System.Object).  
Public MethodDeleteMarks this Entity for deletion; the EntityState becomes "Deleted".  
Public MethodEqualsSystem.Object.Equals(System.Object).  
Public MethodFindRelatedEntities Finds any cached entities related to this entity by the specified link.  
Public MethodForcePropertyChanged Forces a PropertyChanged event to be fired.  
Public MethodGetDataProperty Returns the DataEntityProperty corresponding to the specified property name.  
Public MethodGetHashCodeServes as the default hash function.  
Public MethodGetNavigationProperty Returns the NavigationEntityProperty corresponding to the specified property name.  
Public MethodGetProperty Returns the EntityProperty corresponding to the specified property name.  
Public MethodGetRelatedEntitiesOverloaded. Returns all related entities via the specified EntityRelationLink.  
Public MethodGetRelatedEntityOverloaded. Returns the related entity via a EntityRelationLink.  
Public MethodGetType (Inherited from object)
Public MethodGetValueOverloaded.  Retrieves the value of the specified property on the associated Entity.  
Public MethodGetValueRaw Low-level access to get a property value without going through the standard property 'get' accessor.  
Public MethodHasChanges Determines whether this entity has any pending changes.  
Public MethodOnEntityAspectPropertyChanged Fires PropertyChanged on EntityAspect.  
Public MethodOnEntityPropertyChanged Fires PropertyChanged on the Entity associated with this EntityAspect without invoking any IPropertyChangedInterceptor. Normally the FirePropertyChanged method should be used in place of this.  
Public MethodRejectChangesRejects (rolls back) all changes to this Entity since it was queried or had AcceptChanges called on it.  
Public MethodRemoveFromManagerOverloaded.  Removes the entity from the EntityManager cache.  
Public MethodSetAddedForces this entity into the EntityState of Added.  
Public MethodSetModifiedForces this entity into the EntityState of Modified.  
Public MethodSetValueOverloaded.  Sets the value of the specified property on the associated Entity.  
Public MethodSetValueRaw  
Public MethodToString (Inherited from object)
Public MethodValidatePropertyAfterSet  
Public MethodValidatePropertyBeforeSet  
Public Methodstatic (Shared in Visual Basic)ViolationCheckSee IdeaBlade.Core.TraceFns.Assert  
Public Methodstatic (Shared in Visual Basic)Wrap Wrap an object to provide entity-related services.  
Public Methodstatic (Shared in Visual Basic)WrapAllWrap all objects in the collection provided.  
Top
Protected Methods
 NameDescription
Protected MethodAreEqual  
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Protected MethodReplaceAllCore For internal use only.  
Protected MethodReplaceCurrentOnLoadCore For internal use only.  
Protected MethodReplaceOriginalCore For internal use only.  
Protected MethodRestoreBackupVersion  
Top
Extension Methods
 NameDescription
Public Extension MethodGetEntityGroupThe IdeaBlade.EntityModel.EntityGroup that this Entity belongs to.
Public Extension MethodGetEntityKeyThe IdeaBlade.EntityModel.EntityKey for this entity.
Public Extension MethodGetEntityManagerThe IdeaBlade.EntityModel.EntityManager that manages this entity.
Public Extension MethodGetEntityMetadataThe IdeaBlade.EntityModel.EntityMetadata for this Entity.
Public Extension MethodGetEntitySetName The name of the Entity Framework EntitySet containing this entity.
Public Extension MethodGetEntityStateThe IdeaBlade.EntityModel.EntityState of this entity.
Public Extension MethodGetRelatedEntitiesOverloaded. Returns all related entities via the specified IdeaBlade.EntityModel.EntityRelationLink.
Public Extension MethodGetRelatedEntityOverloaded. Returns the related entity via a IdeaBlade.EntityModel.EntityRelationLink.
Public Extension MethodIsNullEntity Returns whether the current instance is a null entity.
Public Extension MethodIsNullOrPendingEntity Returns whether the current instance is a null entity or a pending entity.
Public Extension MethodIsPendingEntity Returns whether the current instance is a pending entity.
Public Extension MethodRemoveFromManagerOverloaded.  Removes the entity from the EntityManager cache.
Top
Public Events
 NameDescription
Public EventEntityPropertyChanged Fired whenever a property value on this Entity changes.  
Public EventPendingEntityResolved Fired when a pending asynchronous navigation has completed.  
Public EventPropertyChanged Properties on the EntityAspect that are subject to changed and therefore available via the PropertyChanged notification are EntityState, EntityKey, IsChanged, HasErrors, and SavingErrorMessage  
Top
See Also

Reference

EntityAspect Class
IdeaBlade.EntityModel Namespace
EntityManager Class
EntityQuery Class
IEntity Interface

Send Feedback