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.

Fields

Name Description
CompositeKeyPropertyType
(Inherited from BaseObjectSpace)

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.

CanFilterByNonPersistentMembers

For internal use.

(Inherited from BaseObjectSpace)
Connection

Gets the connection to the underlying data source.

(Inherited from BaseObjectSpace)
Database

Gets the name of the database.

(Inherited from BaseObjectSpace)
IsCommitting

Indicates whether the Object Space is currently committing the changes made to its object(s).

(Inherited from BaseObjectSpace)
IsConnected

Indicates whether the BaseObjectSpace is connected to the database.

(Inherited from BaseObjectSpace)
IsDeleting

Indicates whether the current Object Space is about to delete an object(s).

(Inherited from BaseObjectSpace)
IsDisposed

Gets a value indicating whether an Object Space has been disposed of.

(Inherited from BaseObjectSpace)
IsModified

Specifies whether objects belonging to the current Object Space are modified.

(Inherited from BaseObjectSpace)
IsReloading

Gets a boolean value indicating whether or not the Object Space is reloading.

(Inherited from BaseObjectSpace)
LockingCheckEnabled

Specifies whether or not the additional locking check is performed.

(Inherited from BaseObjectSpace)
ModifiedObjects

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

NonPersistentChangesEnabled

Specifies whether the BaseObjectSpace is marked as modified (see BaseObjectSpace.IsModified) when a non-persistent property is changed.

(Inherited from BaseObjectSpace)
Owner

Specifies the View owning the current Object Space.

(Inherited from BaseObjectSpace)
TypesInfo

Gets information on the business classes added to the Application Model (see IModelBOModel).

(Inherited from BaseObjectSpace)

Methods

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

Indicates whether collections of a particular type can be filtered on the server side.

(Inherited from BaseObjectSpace)
CanApplyFilter(Object)

Indicates whether a particular collection can be filtered on the client side.

(Inherited from BaseObjectSpace)
CanInstantiate(Type)

Indicates whether instances of a particular type can be created.

CommitChanges()

Saves all the changes made to the persistent objects belonging to the current Object Space to the database.

(Inherited from BaseObjectSpace)
Contains(Object)

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

ConvertExpressionsStringToExpressionsList(String)

Returns the list of DataViewExpression objects converted from the passed semicolon-separated expressions list.

(Inherited from BaseObjectSpace)
ConvertSortingToString(IList<SortProperty>)

Returns the string representation of a given sort list.

(Inherited from BaseObjectSpace)
ConvertStringToSorting(String)

Converts the sorting string into the sorting list.

(Inherited from BaseObjectSpace)
CreateCollection(Type)

Creates and initializes a collection of objects of the specified type.

(Inherited from BaseObjectSpace)
CreateCollection(Type, CriteriaOperator)

Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
CreateCollection(Type, CriteriaOperator, IList<SortProperty>)

Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria and sorted according to the given sorting list.

(Inherited from BaseObjectSpace)
CreateDataView(Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>)

Returns a list of data records retrieved from the database without loading complete business classes (a data view).

(Inherited from BaseObjectSpace)
CreateDataView(Type, String, CriteriaOperator, IList<SortProperty>)

Returns a list of data records retrieved from a database without loading complete business classes (a data view). Values in each data record can be obtained from specific business class properties directly, or be evaluated by the database server using complex expressions.

(Inherited from BaseObjectSpace)
CreateInstantFeedbackCollection(Type, CriteriaOperator)
CreateNestedObjectSpace()

Creates a nested Object Space.

CreateObject(Type)

Creates an object of the specified type.

(Inherited from BaseObjectSpace)
CreateObject<ObjectType>()

Creates an object of the type designated by the specified generic type parameter.

(Inherited from BaseObjectSpace)
CreateParseCriteriaScope()
CreateServerCollection(Type, CriteriaOperator)
Delete(IList)

Marks the specified persistent objects and their aggregated objects as deleted from the database.

(Inherited from BaseObjectSpace)
Delete(Object)

Marks the specified persistent object and its aggregated objects as deleted from persistent storage.

(Inherited from BaseObjectSpace)
Dispose()

Releases all resources used by an NonPersistentObjectSpace object.

EnableObjectDeletionOnRemove(Object, Boolean)

Enables/disables the deletion of persistent objects from the data source when they are removed from the specified collection.

(Inherited from BaseObjectSpace)
Evaluate(Type, CriteriaOperator, CriteriaOperator)

Evaluates the specified criteria for business objects of the given type.

(Inherited from BaseObjectSpace)
FindObject(Type, CriteriaOperator)

Searches for the first object of the specified type, matching the specified criteria.

(Inherited from BaseObjectSpace)
FindObject(Type, CriteriaOperator, Boolean)

Searches for the first object of the specified type, matching the specified criteria.

(Inherited from BaseObjectSpace)
FindObject<ObjectType>(CriteriaOperator)

Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.

(Inherited from BaseObjectSpace)
FindObject<ObjectType>(CriteriaOperator, Boolean)

Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.

(Inherited from BaseObjectSpace)
GetAssociatedCollectionCriteria(Object, IMemberInfo)

Returns the criteria applied to a specific object's associated collection property.

(Inherited from BaseObjectSpace)
GetCollectionObjectType(Object)
(Inherited from BaseObjectSpace)
GetCollectionSorting(Object)

Returns the sort settings for a particular collection.

(Inherited from BaseObjectSpace)
GetCriteria(Object)
GetDisplayableProperties(Object)

Gets the properties considered visible by the specified collection.

(Inherited from BaseObjectSpace)
GetEvaluatorContextDescriptor(Type)

Creates an instance of the EvaluatorContextDescriptor that is used to supply metadata on the specified type to the ExpressionEvaluator objects.

(Inherited from BaseObjectSpace)
GetExpressionEvaluator(EvaluatorContextDescriptor, CriteriaOperator)

Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.

(Inherited from BaseObjectSpace)
GetExpressionEvaluator(Type, CriteriaOperator)

Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.

(Inherited from BaseObjectSpace)
GetFilter(Object)

Returns the criteria used to filter a particular collection on the client side.

(Inherited from BaseObjectSpace)
GetIntermediateObjectReferences(Object, Object, Object)

For internal use.

(Inherited from BaseObjectSpace)
GetKeyPropertyName(Type)

Gets the name of the specified type's key property.

(Inherited from BaseObjectSpace)
GetKeyPropertyType(Type)

Gets the key property type of the specified business type.

(Inherited from BaseObjectSpace)
GetKeyValue(ITypesInfo, Object)

Returns the key property's value of the specified persistent object.

(Inherited from BaseObjectSpace)
GetKeyValue(Object)
GetKeyValueAsString(ITypesInfo, Object)
(Inherited from BaseObjectSpace)
GetKeyValueAsString(Object)

Returns the key property's value of the specified object, converted to a string representation.

(Inherited from BaseObjectSpace)
GetListServer(Object)

For internal use.

(Inherited from BaseObjectSpace)
GetObject(Object)

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

GetObject<ObjectType>(ObjectType) Retrieves an object from another Object Space to the current Object Space. The returned object is cast by the type designated by the specified generic type parameter.
(Inherited from BaseObjectSpace)
GetObjectByHandle(String)

Returns the object with the specified handle.

(Inherited from BaseObjectSpace)
GetObjectByKey(Type, Object)
GetObjectByKey<ObjectType>(Object)

Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.

(Inherited from BaseObjectSpace)
GetObjectHandle(Object)

Returns an object's handle.

(Inherited from BaseObjectSpace)
GetObjectKey(Type, String)
GetObjectType(Object)

Returns the type of the specified business object.

(Inherited from BaseObjectSpace)
GetObjects(Type)

Returns an IList collection of objects of the specified type, retrieved to the current Object Space.

(Inherited from BaseObjectSpace)
GetObjects(Type, CriteriaOperator)

Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjects(Type, CriteriaOperator, Boolean)

Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjects(Type, CriteriaOperator, IList<SortProperty>, Boolean)

Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjects<T>()

Returns an IList collection of objects of the specified type, retrieved to the current Object Space.

(Inherited from BaseObjectSpace)
GetObjects<T>(CriteriaOperator)

Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjects<T>(CriteriaOperator, Boolean)

Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjects<T>(CriteriaOperator, IList<SortProperty>, Boolean)

Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.

(Inherited from BaseObjectSpace)
GetObjectsCount(Type, CriteriaOperator)

Returns the number of objects specified.

GetObjectsCriteria(ITypeInfo, IList)

Constructs a criteria that can be used to select the specified list of business objects.

(Inherited from BaseObjectSpace)
GetObjectsQuery<T>(Boolean)

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

GetObjectsToDelete(Boolean)

Returns a collection of persistent objects that will be deleted when the current transaction is committed, including objects that will be deleted in the parent transaction(s), optionally.

(Inherited from BaseObjectSpace)
GetObjectsToSave(Boolean)

Returns a collection of persistent objects that will be saved when the current transaction is committed, including objects that will be saved in the parent transaction(s), optionally.

(Inherited from BaseObjectSpace)
GetTopReturnedObjectsCount(Object)

Returns the maximum number of objects to be retrieved by the specified collection from a data store.

(Inherited from BaseObjectSpace)
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.

IsDeletionDeferredType(Type)

Returns a value that indicates if the deferred deletion is enabled for persistent objects of a given type.

(Inherited from BaseObjectSpace)
IsDisposedObject(Object)

Determines whether an object has been disposed of.

(Inherited from BaseObjectSpace)
IsIntermediateObject(Object)

For internal use.

(Inherited from BaseObjectSpace)
IsKnownType(Type)

Returns the boolean value indicating whether or not the specified type is known by the BaseObjectSpace.

(Inherited from BaseObjectSpace)
IsNewObject(Object)

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

IsObjectDeletionOnRemoveEnabled(Object)

Indicates whether the deletion of persistent objects from the data source when they are removed from the specified collection is enabled.

(Inherited from BaseObjectSpace)
IsObjectFitForCriteria(Object, CriteriaOperator)

Specifies whether the specified object satisfies the specified criteria.

(Inherited from BaseObjectSpace)
IsObjectFitForCriteria(Type, Object, CriteriaOperator)

Specifies whether a particular object satisfies the specified criteria.

(Inherited from BaseObjectSpace)
IsObjectToDelete(Object)

Indicates whether the specified object has been deleted but not committed in the current object context or the transaction currently in progress.

(Inherited from BaseObjectSpace)
IsObjectToSave(Object)

Indicates whether the specified object has been added, deleted or modified, but not committed in the current object context or the transaction currently in progress.

(Inherited from BaseObjectSpace)
ObjectKeyValuesEqual(ITypeInfo, Object, Object)
(Inherited from BaseObjectSpace)
ParseCriteria(String)

Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent.

(Inherited from BaseObjectSpace)
Refresh()

Updates the persistent objects belonging to the current Object Space.

(Inherited from BaseObjectSpace)
ReloadCollection(Object)

Clears the specified collection.

(Inherited from BaseObjectSpace)
ReloadObject(Object)

Updates the specified object in the current Object Space with data from the data source.

(Inherited from BaseObjectSpace)
RemoveFromModifiedObjects(Object)

Removes the specified object from the object context or the list of objects to be committed.

(Inherited from BaseObjectSpace)
Rollback(Boolean)

Cancels the changes made to the persistent objects belonging to the current Object Space.

(Inherited from BaseObjectSpace)
SetCollectionSorting(Object, IList<SortProperty>)

Applies the specified sorting to a given collection.

(Inherited from BaseObjectSpace)
SetDisplayableProperties(Object, String)

Changes the properties considered visible by a particular collection.

(Inherited from BaseObjectSpace)
SetModified(Object)

Sets the state of the specified object to be Modified.

(Inherited from BaseObjectSpace)
SetModified(Object, IMemberInfo)

Sets the state of the specified object to be Modified.

(Inherited from BaseObjectSpace)
SetPrefetchPropertyNames(Object, String[])
(Inherited from BaseObjectSpace)
SetTopReturnedObjectsCount(Object, Int32)

Sets the maximum number of objects that can be retrieved from the specified collection in a data store.

(Inherited from BaseObjectSpace)

Events

Name Description
Committed

Raised after saving changes made to persistent objects belonging to the current Object Space to the database.

(Inherited from BaseObjectSpace)
Committing

Occurs before saving the persistent objects belonging to the current Object Space to the database.

(Inherited from BaseObjectSpace)
ConfirmationRequired

Occurs when performing refresh or rollback operations with the current Object Space's persistent objects.

(Inherited from BaseObjectSpace)
Connected

Occurs after a connection to a database has been established.

(Inherited from BaseObjectSpace)
CustomCommitChanges

Replaces the default process for committing changes made to persistent objects with a custom one.

(Inherited from BaseObjectSpace)
CustomDeleteObjects

Occurs to replace the default process of deleting persistent objects with a custom one.

(Inherited from BaseObjectSpace)
CustomRefresh

Occurs to replace the default process of refreshing persistent objects with a custom one.

(Inherited from BaseObjectSpace)
CustomRollBack

Occurs to replace the default process of persistent objects rollback with a custom one.

(Inherited from BaseObjectSpace)
Disposed

Occurs before an Object Space is disposed of.

(Inherited from BaseObjectSpace)
ModifiedChanged

Occurs when the current Object Space's BaseObjectSpace.IsModified state is changed.

(Inherited from BaseObjectSpace)
ObjectByKeyGetting

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

ObjectChanged

Raised when a persistent object is created, changed or deleted.

(Inherited from BaseObjectSpace)
ObjectDeleted

Occurs after the specified objects have been deleted.

(Inherited from BaseObjectSpace)
ObjectDeleting

Occurs when the specified objects are about to be deleted.

(Inherited from BaseObjectSpace)
ObjectEndEdit

Occurs after ending an edit operation taking place on the specified object.

(Inherited from BaseObjectSpace)
ObjectGetting

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

ObjectReloaded

Occurs after an object has been reloaded from the database.

(Inherited from BaseObjectSpace)
ObjectSaved

Occurs after saving changes made to a specified persistent object to the database.

(Inherited from BaseObjectSpace)
ObjectSaving

Raised before saving changes made to a specified persistent object to the database.

(Inherited from BaseObjectSpace)
ObjectsCountGetting

Occurs when the NonPersistentObjectSpace.GetObjectsCount method is called.

ObjectsGetting

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

Refreshing

Occurs before refreshing the current Object Space's persistent objects.

(Inherited from BaseObjectSpace)
Reloaded

Occurs when the BaseObjectSpace.Rollback or BaseObjectSpace.Refresh method is called.

(Inherited from BaseObjectSpace)
RollingBack

Occurs before rolling back the changes made to the current Object Space's persistent objects.

(Inherited from BaseObjectSpace)