public int Delete(DataEntiry.Equipment model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Insert(DataEntiry.Equipment model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Update(DataEntiry.Equipment model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int delete(DataEntiry.Equipment _model)
 {
     return(dal.Delete(_model));
 }
 public int InsertOrUpdateBy(DataEntiry.Equipment _model, string _identity)
 {
     return(_model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity));
 }
 public int UpdateBy(DataEntiry.Equipment _model, string _identity)
 {
     return(dal.Update(_model, _identity));
 }
 public int Update(DataEntiry.Equipment _model)
 {
     return(dal.Update(_model, "ID"));
 }
 public int Insert(DataEntiry.Equipment _model)
 {
     return(dal.Insert(_model));
 }