Esempio n. 1
0
 public object ReadState(string key)
 {
     using (DbTransaction transaction = DbTransaction.Create(this, _create, IsolationLevel.ReadCommitted)) {
         return(ReadState(key, transaction));
     }
 }
Esempio n. 2
0
 public void UpdateState(string key, object state)
 {
     using (ISessionTransaction transaction = DbTransaction.Create(this, _create, IsolationLevel.Serializable)) {
         UpdateState(key, state, transaction);
     }
 }
Esempio n. 3
0
 public ISessionTransaction BeginTransaction(IsolationLevel isolation)
 {
     return(DbTransaction.Create(this, _create, isolation));
 }