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