UnitOfWorkDataAccessor Class

Implements DataAccessor for UnitOfWork.

Namespace: Xafari.BC
Assembly: Xafari.BC (in Xafari.BC.dll)

  • c#
  • VB

public class UnitOfWorkDataAccessor : DataAccessor, IServiceUnitOfWorkContext

Public Class UnitOfWorkDataAccessor
  Inherits DataAccessor
  Implements IServiceUnitOfWorkContext
End Class

Name Description
msdn2017/pubproperty Active Specifies the active status for this instance. (inherited from ServiceSpaceContextBase).
msdn2017/pubproperty DataAccessor Returns DataAccessor instance for data operations. (inherited from ServiceSpaceContextBase).
msdn2017/pubproperty Database
msdn2017/pubproperty DisposeOwnerOnDispose Indicates then parent IObjectSpace or UnitOfWork> will be disposed on current object dispose. (inherited from DataAccessor).
msdn2017/pubproperty IsCommitting
msdn2017/pubproperty IsConnected
msdn2017/pubproperty IsDeleting
msdn2017/pubproperty IsDisposed (inherited from DisposableExtBase).
msdn2017/pubproperty IsModified
msdn2017/pubproperty IsObjectsLoading (inherited from DataAccessor).
msdn2017/pubproperty IsReloading
msdn2017/pubproperty ModifiedObjects
msdn2017/pubproperty NonPersistentChangesEnabled
msdn2017/pubproperty Owner
msdn2017/pubproperty Service Gets service instance. (inherited from ServiceSpaceContextBase).
msdn2017/pubproperty ServiceSpace Gets service space. (inherited from ServiceSpaceContextBase).
msdn2017/pubproperty TypesInfo
Top
Name Description
msdn2017/pubmethod ApplyCriteria(object, CriteriaOperator)
msdn2017/pubmethod ApplyFilter(object, CriteriaOperator)
msdn2017/pubmethod CanApplyCriteria(Type)
msdn2017/pubmethod CanApplyFilter(object)
msdn2017/pubmethod CanInstantiate(Type)
msdn2017/protmethod CheckIsDisposed() (inherited from DisposableExtBase).
msdn2017/pubmethod CommitChanges() (inherited from DataAccessor).
msdn2017/pubmethod Contains(object)
msdn2017/pubmethod CreateCollection(Type, CriteriaOperator, IList<SortProperty>, bool) (inherited from DataAccessor).
msdn2017/pubmethod CreateCollectionCore(Type, CriteriaOperator, IList<SortProperty>, bool)
msdn2017/pubmethod CreateDataView(Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>)
msdn2017/pubmethod CreateDataView(Type, string, CriteriaOperator, IList<SortProperty>)
msdn2017/pubmethod CreateInstantFeedbackCollection(Type, CriteriaOperator)
msdn2017/pubmethod CreateNestedObjectSpace()
msdn2017/pubmethod CreateObject(Type) Creates the instance of entity entityType. (inherited from DataAccessor).
msdn2017/pubmethod CreateObject<TEntity>() Creates the instance of entity TEntity. (inherited from DataAccessor).
msdn2017/pubmethod CreateParseCriteriaScope()
msdn2017/pubmethod CreateServerCollection(Type, CriteriaOperator)
msdn2017/pubmethod Delete(IList)
msdn2017/pubmethod Delete(object)
msdn2017/pubmethod Dispose() (inherited from ServiceSpaceContextBase).
msdn2017/protmethod DisposeCore() (inherited from DisposableExtBase).
msdn2017/pubmethod DoCustomizeCollectionSource(CollectionSourceBase) (inherited from DataAccessor).
msdn2017/pubmethod EnableObjectDeletionOnRemove(object, bool)
msdn2017/pubmethod Evaluate(Type, CriteriaOperator, CriteriaOperator) Evaluates the specified expression for objects of the specified type. (inherited from DataAccessor).
msdn2017/pubmethod Evaluate<TEntity>(CriteriaOperator, CriteriaOperator, bool) Evaluates the specified expression for objects of the specified type. (inherited from DataAccessor).
msdn2017/pubmethod FindObject(Type, CriteriaOperator, bool) Searches for the first object of the specified type, matching the specified criteria. (inherited from DataAccessor).
msdn2017/pubmethod FindObject<T>(CriteriaOperator, bool) Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria. (inherited from DataAccessor).
msdn2017/pubmethod GetAssociatedCollectionCriteria(object, IMemberInfo)
msdn2017/pubmethod GetCollectionSorting(object)
msdn2017/pubmethod GetCriteria(object)
msdn2017/pubmethod GetDisplayableProperties(object)
msdn2017/pubmethod GetEvaluatorContextDescriptor(Type)
msdn2017/pubmethod GetExpressionEvaluator(EvaluatorContextDescriptor, CriteriaOperator)
msdn2017/pubmethod GetExpressionEvaluator(Type, CriteriaOperator)
msdn2017/pubmethod GetFilter(object)
msdn2017/pubmethod GetKeyPropertyName(Type)
msdn2017/pubmethod GetKeyPropertyType(Type)
msdn2017/pubmethod GetKeyValue(object)
msdn2017/pubmethod GetKeyValueAsString(object)
msdn2017/pubmethod GetObject(object)
msdn2017/pubmethod GetObject<T>(T)
msdn2017/pubmethod GetObjectByHandle(string)
msdn2017/pubmethod GetObjectByKey(Type, object)
msdn2017/pubmethod GetObjectByKey<ObjectType>(object)
msdn2017/pubmethod GetObjectHandle(object)
msdn2017/pubmethod GetObjectKey(Type, string)
msdn2017/pubmethod GetObjectType(object)
msdn2017/pubmethod GetObjects(Type, CriteriaOperator, bool) Returns an IList collection of objects of specified entityType, retrieved to the current Object Space and filtered according to the specified criteria.
msdn2017/pubmethod GetObjects(Type, CriteriaOperator, IList<SortProperty>, bool) Returns an IList collection of objects of specified entityType, retrieved to the current Object Space and filters and sorts according to the specified criteria and set of sort properties.
msdn2017/pubmethod GetObjects<T>(CriteriaOperator, bool) Returns an IList collection of T objects via the specified IObjectSpace.
msdn2017/pubmethod GetObjects<T>(CriteriaOperator, IList<SortProperty>, bool) Returns an IList collection of T objects via the specified IObjectSpace.
msdn2017/pubmethod GetObjectsCount(Type, CriteriaOperator)
msdn2017/pubmethod GetObjectsQuery<T>(bool) (inherited from DataAccessor).
msdn2017/pubmethod GetObjectsToDelete(bool)
msdn2017/pubmethod GetObjectsToSave(bool)
msdn2017/pubmethod GetSession()
msdn2017/pubmethod GetTopReturnedObjectsCount(object)
msdn2017/pubmethod IsCollectionLoaded(object)
msdn2017/pubmethod IsDeletedObject(object)
msdn2017/pubmethod IsDeletionDeferredType(Type)
msdn2017/pubmethod IsDisposedObject(object)
msdn2017/pubmethod IsKnownType(Type)
msdn2017/pubmethod IsNewObject(object)
msdn2017/pubmethod IsObjectDeletionOnRemoveEnabled(object)
msdn2017/pubmethod IsObjectFitForCriteria(Type, object, CriteriaOperator)
msdn2017/pubmethod IsObjectFitForCriteria(object, CriteriaOperator)
msdn2017/pubmethod IsObjectToDelete(object)
msdn2017/pubmethod IsObjectToSave(object)
msdn2017/pubmethod Refresh()
msdn2017/pubmethod ReloadCollection(object)
msdn2017/pubmethod ReloadObject(object)
msdn2017/pubmethod RemoveFromModifiedObjects(object)
msdn2017/pubmethod Rollback() (inherited from DataAccessor).
msdn2017/pubmethod SelectData<object[]>(CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, bool, int, int, SortingCollection, bool) Retrieves objects from a session using the specified query parameters. (inherited from DataAccessor).
msdn2017/pubmethod SelectDataAsync<TEntity>(CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, bool, int, int, SortingCollection, AsyncSelectDataCallback) Asynchronously retrieves entities from an object space, using the specified query parameters. (inherited from DataAccessor).
msdn2017/pubmethod SetCollectionSorting(object, IList<SortProperty>)
msdn2017/pubmethod SetDisplayableProperties(object, string)
msdn2017/pubmethod SetIsModified(bool)
msdn2017/pubmethod SetModified(object, IMemberInfo) (inherited from DataAccessor).
msdn2017/pubmethod SetTopReturnedObjectsCount(object, int)
Top
Name Description
msdn2017/pubextensionmethod AppSettings(this IObjectSpace) Returns ServiceSpaceContext instance to access application settings properties.
msdn2017/pubextensionmethod AppSettings(this IObjectSpaceHelper) Returns ServiceSpaceContext instance to access application settings properties.
msdn2017/pubextensionmethod AppSettings(this IServiceSpace) Returns ServiceSpaceContext instance for specified IServiceSpace.
msdn2017/pubextensionmethod AppSettings(this UnitOfWorkHelper) Returns ServiceSpaceContext instance to access application settings properties.
msdn2017/pubextensionmethod AppSettings(this TypeHelper)
msdn2017/pubextensionmethod ApplyNumerators(this IObjectSpace, object, ApplyNumeratorsStrategy) Obsolete. Apply all numerators for obj inside IServiceSpace for objectSpace.
msdn2017/pubextensionmethod ApplyNumerators(this IObjectSpaceHelper, object, ApplyNumeratorsStrategy) Obsolete. Apply all numerators for obj inside IServiceSpace for objectSpaceHelper.
msdn2017/pubextensionmethod ApplyNumerators(this IServiceObjectSpace, object, ApplyNumeratorsStrategy) Obsolete. Apply all numerators for obj inside serviceSpace.
msdn2017/pubextensionmethod BulkAction(this IObjectSpace, Action<IServiceSpace>) Obsolete. Invokes action with IServiceSpace environment for objectSpace.
msdn2017/pubextensionmethod BulkAction(this XafApplication, Action<IServiceSpace>, bool) Obsolete. Creates IObjectSpace and invokes action with IServiceSpace environment for this object space.
msdn2017/pubextensionmethod BulkFunc<TResult>(this IObjectSpace, Func<IServiceSpaceTResult>) Obsolete. Invokes func with IServiceSpace environment for objectSpace.
msdn2017/pubextensionmethod BulkFunc<TResult>(this XafApplication, Func<IServiceSpaceTResult>, bool) Obsolete. Creates IObjectSpace and invokes func with IServiceSpace environment for this object space.
msdn2017/pubextensionmethod CreateEntity(this IObjectSpace, Type) Obsolete. Creates the instance of entity entityType. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod CreateEntity<TEntity>(this IObjectSpace) Obsolete. Creates the instance of entity TEntity. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod Deploy<T>(IObjectSpace, string, string, string, string, Assembly, bool, bool, CriteriaOperator) Deploy report template.
msdn2017/pubextensionmethod Deploy<T>(this IObjectSpace, string, Stream, Stream, string, Assembly, bool, bool, CriteriaOperator) Deploy report template.
msdn2017/pubextensionmethod DeployAnalysisTemplate(this IObjectSpace, Type, string, Stream, Stream, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template. (Defined by TemplateDeployment).
msdn2017/pubextensionmethod DeployAnalysisTemplate<T>(this IObjectSpace, string, Stream, Stream, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployAnalysisTemplate<T>(this IObjectSpace, string, string, string, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate(this IObjectSpace, Type, string, Stream, string, Assembly, bool, bool) Obsolete. Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate(this IObjectSpace, Type, string, Stream, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate<T>(this IObjectSpace, string, Stream, string, Assembly, bool, bool) Obsolete. Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate<T>(this IObjectSpace, string, string, string, Assembly, bool, bool) Obsolete. Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate<T>(this IObjectSpace, string, Stream, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployExcelTemplate<T>(this IObjectSpace, string, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployFileTemplate(this IObjectSpace, Type, Type, string, string, FileReportResult, string, bool, bool, CriteriaOperator) Object space extension to deploy report template. (Defined by TemplateDeployment).
msdn2017/pubextensionmethod DeployFileTemplate<TReport, TGenerator>(this IObjectSpace, string, string, FileReportResult, string, bool, bool, CriteriaOperator) Object space extension to deploy report template. (Defined by TemplateDeployment).
msdn2017/pubextensionmethod DeployPredefinedXtraTemplate(this IObjectSpace, Type, string, bool, CriteriaOperator) Deploy report's predefined template. (Defined by TemplateDeployment).
msdn2017/pubextensionmethod DeployPredefinedXtraTemplate<T>(this IObjectSpace, string, bool, CriteriaOperator) Deploy report's predefined template. (Defined by TemplateDeployment).
msdn2017/pubextensionmethod DeployXafTemplate(this IObjectSpace, Type, string, Stream, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployXafTemplate(this IObjectSpace, Type, string, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployXafTemplate<T>(this IObjectSpace, string, Stream, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod DeployXafTemplate<T>(this IObjectSpace, string, string, Assembly, bool, bool, CriteriaOperator) Object space extension to deploy report template.
msdn2017/pubextensionmethod Evaluate<TEntity>(this IObjectSpace, CriteriaOperator, CriteriaOperator, bool) Obsolete. Evaluates the specified expression for objects of the specified type. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod FindClassifierItem<TClassifierItem>(this IObjectSpace, string, bool) Obsolete. Finds specified by code classifier item.
msdn2017/pubextensionmethod FindClassifierItem<TClassifierItem>(this DataAccessor, string, bool) Finds specified by code classifier item.
msdn2017/pubextensionmethod FindEntity(this IObjectSpace, Type, CriteriaOperator, bool) Obsolete. Searches for the first object of the specified type, matching the specified criteria. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod FindEntity<TEntity>(this IObjectSpace, CriteriaOperator, bool) Obsolete. Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod GetEntities(this IObjectSpace, Type, CriteriaOperator, bool) Obsolete. Returns an IList collection of objects of specified entityType, retrieved to the current Object Space and filtered according to the specified criteria. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod GetEntities<TEntity>(this IObjectSpace, CriteriaOperator, bool) Obsolete. Returns an IList collection of TEntity objects via the specified IObjectSpace. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod GetListValueByTerm<TDetails>(this object, string) Obsolete. (Defined by TypeExtensions).
msdn2017/pubextensionmethod GetValueByTerm<TValue>(this object, string) Obsolete. (Defined by TypeExtensions).
msdn2017/pubextensionmethod IndexNumerator(this IObjectSpace) Obsolete. Returns an IndexNumerator inside IServiceSpace
msdn2017/pubextensionmethod IndexNumerator(this IObjectSpaceHelper) Returns an ServiceSpaceContext instance for specified IObjectSpaceHelper.
msdn2017/pubextensionmethod IndexNumerator(this IServiceSpace) Returns ServiceSpaceContext instance for specified IServiceSpace.
msdn2017/pubextensionmethod IndexNumerator(this UnitOfWorkHelper) Returns an ServiceSpaceContext instance for specified UnitOfWorkHelper.
msdn2017/pubextensionmethod IsImportActive(this IObjectSpace) (Defined by DataExtensions).
msdn2017/pubextensionmethod PowerPurge(this IObjectSpace) (Defined by XpoPurgeHelper).
msdn2017/pubextensionmethod Query<TEntity>(this IObjectSpace) Obsolete. Creates and returns new instance of XFQuery<T>. (Defined by EntityFactoryExtensions).
msdn2017/pubextensionmethod RollbackNumerators(this IObjectSpaceHelper, object) Obsolete. Rollback all numerators for objs inside IServiceSpace.
msdn2017/pubextensionmethod RollbackNumerators(this IObjectSpace, object) Obsolete. Rollback all numerators for objs inside IServiceSpace.
msdn2017/pubextensionmethod RollbackNumerators(this IServiceObjectSpace, object) Obsolete. Rollback all numerators for objs inside serviceSpace.
msdn2017/pubextensionmethod SafeCode(this INestedObjectSpace, UInt32, Action, Action)
msdn2017/pubextensionmethod SafeCode(this IObjectSpace, UInt32, Action, params object[]) Относительно безопасная работа с ObjectSpace'ом. Добавлено для работы сервиса нумераторов без глобального ObjectSpace.
msdn2017/pubextensionmethod SelectData<object[]>(this IObjectSpace, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, bool, int, int, SortingCollection, bool) Obsolete. Retrieves objects from a session using the specified query parameters. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod SelectDataAsync<TEntity>(this IObjectSpace, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, bool, int, int, SortingCollection, AsyncSelectDataCallback) Obsolete. Asynchronously retrieves entities from an object space, using the specified query parameters. (Defined by AliveTypeExtensions).
msdn2017/pubextensionmethod ServiceCfgObjectsContext(this IObjectSpace) Returns ServiceSpaceContext instance for specified objectSpace. (Defined by ServiceCfgObjectsCacheServiceExtensions).
msdn2017/pubextensionmethod ServiceSpace(this IObjectSpace) Obsolete. Returns existed or creates new IServiceSpace instance for objectSpace. (Defined by Extensions).
msdn2017/pubextensionmethod Session(this object, bool) Obsolete. Returns Session for specified object. (Defined by SessionExtensions).
msdn2017/pubextensionmethod SetValueByTerm<TValue>(this object, string, TValue) Obsolete. (Defined by TypeExtensions).
msdn2017/pubextensionmethod Xafari(this UnitOfWork)
Top
Name Description
msdn2017/pubevent Committed (inherited from DataAccessor).
msdn2017/pubevent Committing (inherited from DataAccessor).
msdn2017/pubevent ConfirmationRequired (inherited from DataAccessor).
msdn2017/pubevent Connected (inherited from DataAccessor).
msdn2017/pubevent CustomCommitChanges (inherited from DataAccessor).
msdn2017/pubevent CustomDeleteObjects (inherited from DataAccessor).
msdn2017/pubevent CustomGetObjectsQuery Raised to customize data queries. (inherited from DataAccessor).
msdn2017/pubevent CustomRefresh (inherited from DataAccessor).
msdn2017/pubevent CustomRollBack (inherited from DataAccessor).
msdn2017/pubevent CustomizeCollectionSource (inherited from DataAccessor).
msdn2017/pubevent CustomizeDataAccess Raised to customize data queries. (inherited from DataAccessor).
msdn2017/pubevent Disposed (inherited from DisposableExtBase).
msdn2017/pubevent Disposing (inherited from DisposableExtBase).
msdn2017/pubevent ModifiedChanged (inherited from DataAccessor).
msdn2017/pubevent ObjectChanged (inherited from DataAccessor).
msdn2017/pubevent ObjectCreated (inherited from DataAccessor).
msdn2017/pubevent ObjectDeleted (inherited from DataAccessor).
msdn2017/pubevent ObjectDeleting (inherited from DataAccessor).
msdn2017/pubevent ObjectEndEdit (inherited from DataAccessor).
msdn2017/pubevent ObjectReloaded (inherited from DataAccessor).
msdn2017/pubevent ObjectSaved (inherited from DataAccessor).
msdn2017/pubevent ObjectSaving (inherited from DataAccessor).
msdn2017/pubevent Refreshing (inherited from DataAccessor).
msdn2017/pubevent Reloaded (inherited from DataAccessor).
msdn2017/pubevent RollingBack (inherited from DataAccessor).
Top
Name Description
msdn2017/protfield IsDisposing (inherited from DisposableExtBase).
Top

.NET Framework Client Profile

Supported in: 4, 3.5 SP1