Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
public Save ( SaveOptions saveOptions ) : void | ||
saveOptions | SaveOptions | |
Résultat | void |
public SaveChanges ( SaveOptions saveOptions ) : void | ||
saveOptions | SaveOptions | |
Résultat | void |
public UnitOfWork ( System.Data.DbContext context ) : System | ||
context | System.Data.DbContext | |
Résultat | System |