Beispiel #1
0
 public bool Remove(CustomerInfo oCustInfo)
 {
     CustomerDAC rdac = new CustomerDAC(oCustInfo);
     return (rdac.DeleteOne() >= Utility.ONE_ROW_AFFECTED);
 }
Beispiel #2
0
 public bool Modify(CustomerInfo oCustInfo)
 {
     CustomerDAC rdac = new CustomerDAC(oCustInfo);
     return (rdac.UpdateOne() >= Utility.ONE_ROW_AFFECTED);
 }
Beispiel #3
0
 public bool ModifyPwd()
 {
     CustomerDAC rdac = new CustomerDAC(this.info);
     return (rdac.UpdatePwd() >= Utility.ONE_ROW_AFFECTED);
 }
Beispiel #4
0
 public bool Login()
 {
     CustomerDAC rdac = new CustomerDAC(this.info);
     return rdac.LoginDAC();
 }
Beispiel #5
0
 public bool LoadOneByEmail()
 {
     this.info.CurrentTask = NTaskCustomer.LoadByEmail;
     CustomerDAC rdac = new CustomerDAC(this.info);
     return rdac.SelectOne();
 }
Beispiel #6
0
 public DataSet LoadAll()
 {
     CustomerDAC rdac = new CustomerDAC(this.info);
     return rdac.SelectAll();
 }
Beispiel #7
0
 public bool Load()
 {
     CustomerDAC rdac = new CustomerDAC(this.info);
     return rdac.SelectOne();
 }
Beispiel #8
0
 // Methods
 public bool Add()
 {
     CustomerDAC rdac = new CustomerDAC(this.info);
     return (rdac.InsertOne() >= Utility.ONE_ROW_AFFECTED);
 }