The IDistributedUnitOfWorkContract type exposes the following members.

Methods

  NameDescription
Calculate
Performs a Calculate operation for the specified entity type over the nominated attribute.
CalculateProcedureQuery
Performs a Calculate operation using the specified ProcedureQuery.
CalculateQuery
Performs a Calculate operation for the specified entity type over the nominated attribute with the specified query.
Count
Performs a Count All operation for the specified entity type.
CountQuery
Performs a Count operation for the specified entity type based on the provided query.
Execute
Executes a ProcedureQuery and returns the return value of the call.
FindOverloaded.
FindAll
Performs a FindAll operation for the specified entity type.
FindOne
Peforms a FindOne operation for the specified entity type using the specified query.
FindTuple
Performs a Find operation where the result set will be spanning multiple types which will be returned as an EntityTuple instance.
ProcessChanges
Processes a batch of changes to entities which may contain Add/Remove or Update operations.
Project
Performs a Find operation where the output is to be a projection across one or more types in the query rather than an entity result.
ProjectToType
Performs a Find operation where the output is to be a projection across one or more types in the query rather than an entity result and the resulting projection is to be mapped to a specified type.
Remove
Performs a Remove operation based on a specified query.

Events

  NameDescription
GeneralFailureOccurred
Event which is fired when an unhandled failure occurs within the DistributedUnitOfWorkService allowing you to inspect any exceptions that occur.

See Also