Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
Метод | Описание | |
---|---|---|
MockUnitOfWork ( ) : System |
Prevents a default instance of the MockUnitOfWork class from being created.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | 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. |
Результат | System |