示例#1
0
 /// <summary>
 /// Commit
 /// </summary>
 protected virtual void DbCommit()
 {
     DBConnector.Commit();
 }
示例#2
0
 /// <summary>
 /// Begin transaction
 /// </summary>
 protected virtual void DbBeginTransaction()
 {
     DBConnector.BeginTransaction();
 }
示例#3
0
 public RepositoryBase(DBConnector conn)
 {
     this.DBConnector = conn;
 }
示例#4
0
 /// <summary>
 /// Open connection
 /// </summary>
 protected virtual void DbOpen()
 {
     DBConnector.Open();
 }
示例#5
0
 /// <summary>
 /// Rollback
 /// </summary>
 protected virtual void DbRollBack()
 {
     DBConnector.RollBack();
 }