The DistributedUnitOfWork type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DistributedUnitOfWork | Overloaded. |
Methods
Name | Description | |
---|---|---|
Add |
Registers the specified entity as a pending insert.
(Overrides UnitOfWorkBase..::.Add(Entity).) | |
Attach | Overloaded. | |
BeginTransaction | Overloaded. | |
Calculate | Overloaded. | |
Count | Overloaded. | |
Detach |
Detaches the specified Entity from the current unit of work.
(Overrides UnitOfWorkBase..::.Detach(Entity).) | |
Dispose | Overloaded. | |
Execute |
Executes a database stored procedure.
(Overrides UnitOfWorkBase..::.Execute(ProcedureQuery).) | |
Finalize |
Performs object finalization.
(Inherited from UnitOfWorkBase.) | |
Find | Overloaded. | |
FindById | Overloaded. | |
FindBySql<(Of <(TEntity>)>) |
A distributed unit of work does not support FindBySql as it cannot support handling of database command objects
(Overrides UnitOfWorkBase..::.FindBySql<(Of <(TEntity>)>)(IDbCommand).) | |
FindGroup |
Returns a set of Entity objects that match the provided query specification and places the results
in the provided EntityTuple and is grouped by entity type
(Overrides UnitOfWorkBase..::.FindGroup(Query, EntityTuple).) | |
FindOne | Overloaded. | |
GetEnumerator |
Get an enumerator over the entities currently attached to this unit of work
| |
Import<(Of <(TEntity>)>) |
A distributed unit of work does not support importing an arbitrary object into an entity
(Overrides UnitOfWorkBase..::.Import<(Of <(TEntity>)>)(Object).) | |
OnDisposed |
Raises the Disposed event.
(Inherited from UnitOfWorkBase.) | |
PrepareCommand |
A distributed unit of work does not support preparing database commands
(Overrides UnitOfWorkBase..::.PrepareCommand(IDbCommand).) | |
Project | Overloaded. | |
Remove | Overloaded. | |
SaveChanges | Overloaded. | |
Search | Overloaded. | |
Update |
Updates entities by executing SQL directly against the database. NB. No entities are
materialized and therefore no callbacks run, cached entities are not updated in the second-level
cache or full-text search index etc.
(Overrides UnitOfWorkBase..::.Update(Query, Object).) |
Properties
Name | Description | |
---|---|---|
Context |
The LightSpeedContext that spawned this IUnitOfWork.
(Inherited from UnitOfWorkBase.) |
Events
Name | Description | |
---|---|---|
Disposed |
An event which is raised when the DistributedUnitOfWork is being disposed.
| |
FactoryCreated |
An event which is raised when a ChannelFactory is created by the DistributedUnitOfWork.
|