NonPersistentObjectSpace Members

Constructors

Name Description
NonPersistentObjectSpace(ITypesInfo)

Creates a new instance of the NonPersistentObjectSpace class.

NonPersistentObjectSpace(ITypesInfo, IEntityStore)

Creates a new instance of the NonPersistentObjectSpace class.

Properties

Name Description
AdditionalObjectSpaces

Gets the list of Object Spaces required to handle persistent objects that may be displayed from a non-persistent object's View.

ModifiedObjects

Gets a list of non-persistent objects modified within the current NonPersistentObjectSpace.

Methods

Name Description
ApplyCriteria(Object, CriteriaOperator)
ApplyFilter(Object, CriteriaOperator)
CanInstantiate(Type)

Indicates whether instances of a particular type can be created.

Contains(Object)

Indicates whether a specified object belongs to the current Object Space.

CreateInstantFeedbackCollection(Type, CriteriaOperator)
CreateNestedObjectSpace()

Creates a nested Object Space.

CreateParseCriteriaScope()
CreateServerCollection(Type, CriteriaOperator)
Dispose()

Releases all resources used by an NonPersistentObjectSpace object.

GetKeyValue(Object)
GetObject(Object)

Retrieves an object from another Object Space to the current Object Space.

GetObjectByKey(Type, Object)
GetObjectKey(Type, String)
GetObjectsCount(Type, CriteriaOperator)

Returns the number of objects specified.

GetObjectsQuery<T>(Boolean)

Gets a queryable data structure that provides functionality to evaluate queries against a specific business object type.

IsCollectionLoaded(Object)

Indicates whether a particular collection is loaded with objects from the database.

IsDeletedObject(Object)

Indicates whether the specified persistent object is deleted and committed.

IsNewObject(Object)

Indicates whether a specified object has been created but has not been saved to the database.

Events

Name Description
ObjectByKeyGetting

Occurs when an object is retrieved by its key, using the NonPersistentObjectSpace.GetObjectByKey method.

ObjectGetting

Occurs when NonPersistentObjectSpace gets an object using the NonPersistentObjectSpace.GetObject method .

ObjectsCountGetting

Occurs when the NonPersistentObjectSpace.GetObjectsCount method is called.

ObjectsGetting

Occurs when NonPersistentObjectSpace creates a collection of non-persistent objects.