Метод | Описание | |
---|---|---|
BeginTransaction ( ) : void | ||
BeginTransaction ( IsolationLevel isolationLevel ) : void | ||
CommitTransaction ( ) : void | ||
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
RollBackTransaction ( ) : void | ||
Save ( ) : void |
Save temporary change with transaction
|
|
Save ( SaveOptions saveOptions ) : void |
Directly save change without using begin transaction with saving option
|
|
SaveChanges ( ) : void |
Directly save change without using begin transaction
|
|
SaveChanges ( SaveOptions saveOptions ) : void |
Directly save change without using begin transaction with saving option
|
|
UnitOfWork ( System.Data.DbContext context ) : System |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes off the managed and unmanaged resources used.
|
|
OpenConnection ( ) : void | ||
ReleaseCurrentTransaction ( ) : void |
Releases the current transaction
|
public BeginTransaction ( IsolationLevel isolationLevel ) : void | ||
isolationLevel | IsolationLevel | |
Результат | void |
public Save ( SaveOptions saveOptions ) : void | ||
saveOptions | SaveOptions | |
Результат | void |
public SaveChanges ( SaveOptions saveOptions ) : void | ||
saveOptions | SaveOptions | |
Результат | void |
public UnitOfWork ( System.Data.DbContext context ) : System | ||
context | System.Data.DbContext | |
Результат | System |