Method | Description | |
---|---|---|
BeginTransaction ( ) : void |
Begins the transaction.
|
|
Commit ( ) : void |
Commits the changes to the repositories in this unit of work.
|
|
Dispose ( ) : void |
Disposes the unit of work and all corresponding repositories.
|
|
MockUnitOfWork ( IAuthenticationProvider authenticationProvider, IMessageProvider messageProvider, IDomainEventDispatcher eventDispatcher ) : System |
Initializes a new instance of the MockUnitOfWork class.
|
|
Rollback ( ) : void |
Rolls back the transaction.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
Method | Description | |
---|---|---|
MockUnitOfWork ( ) : System |
Prevents a default instance of the MockUnitOfWork class from being created.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public MockUnitOfWork ( IAuthenticationProvider authenticationProvider, IMessageProvider messageProvider, IDomainEventDispatcher eventDispatcher ) : System | ||
authenticationProvider | IAuthenticationProvider | The authentication provider. |
messageProvider | IMessageProvider | The message provider. |
eventDispatcher | IDomainEventDispatcher | The event dispatcher. |
return | System |