The DataServiceUnitOfWork type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DataServiceUnitOfWork |
Methods
Name | Description | |
---|---|---|
![]() | Add |
Registers the specified entity as a pending insert.
(Inherited from UnitOfWork.) |
![]() | Attach | Overloaded. |
![]() | BeginTransaction | Overloaded. |
![]() | Calculate | Overloaded. |
![]() | Count | Overloaded. |
![]() | Detach |
Detaches the specified Entity from the current unit of work.
(Inherited from UnitOfWork.) |
![]() | Dispose | Overloaded. |
![]() | Execute |
Executes a database stored procedure.
(Inherited from UnitOfWork.) |
![]() | Finalize |
Performs object finalization.
(Inherited from UnitOfWorkBase.) |
![]() | Find | Overloaded. |
![]() | FindById | Overloaded. |
![]() | FindBySql<(Of <(TEntity>)>) |
Returns a strongly typed list of Entity objects that
represent the records returned by the specified database command.
(Inherited from UnitOfWork.) |
![]() | 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
(Inherited from UnitOfWork.) |
![]() | FindOne | Overloaded. |
![]() | GetEnumerator |
Get an enumerator over the entities currently attached to this unit of work
(Inherited from UnitOfWorkBase.) |
![]() | Import | Overloaded. |
![]() | OnDisposed |
Raises the Disposed event.
(Inherited from UnitOfWorkBase.) |
![]() | PrepareCommand |
Prepares a IDbCommand to run against the underlying database.
(Inherited from UnitOfWork.) |
![]() | Project | Overloaded. |
![]() | Remove | Overloaded. |
![]() | ResolveTypeName |
Gets the entity type for the specified type name.
|
![]() | 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.
(Inherited from UnitOfWork.) |
Properties
Name | Description | |
---|---|---|
![]() | ConnectionStrategy |
Gets or sets the ConnectionStrategy used to manage
database connections.
(Inherited from UnitOfWork.) |
![]() | Context |
The LightSpeedContext that spawned this IUnitOfWork.
(Inherited from UnitOfWorkBase.) |
Events
Name | Description | |
---|---|---|
![]() | Disposed |
Signals that the component has been disposed.
(Inherited from UnitOfWorkBase.) |