Ejemplo n.º 1
0
 internal UpdateBuilder(IDbCommand command, string name, T item)
 {
     if (item == null)
     {
         throw new DBClientException("insert data is null.");
     }
     this.Data      = new BuilderData(command, name);
     this.Actions   = new ActionsHandler(Data);
     this.Data.Item = item;
 }
Ejemplo n.º 2
0
 public SelectBuilder(IDbCommand command)
 {
     Data    = new BuilderData(command, "");
     Actions = new ActionsHandler(Data);
 }
Ejemplo n.º 3
0
 public DeleteBuilder(IDbCommand command, string name)
 {
     Data    = new BuilderData(command, name);
     Actions = new ActionsHandler(Data);
 }
Ejemplo n.º 4
0
 public InsertBuilder(IDbCommand command, string name)
 {
     this.Data    = new BuilderData(command, name);
     this.Actions = new ActionsHandler(Data);
 }