public string Add(MABP obj) { MABPDA RPO = new MABPDA(imap_); RPO.Insert(obj, ref exec); return(exec.Message); }
public string Update(MABP objRole) { MABPDA ABPrepo = new MABPDA(imap_); ABPrepo.Update(objRole, ref exec); return(exec.Message); }
public string Delete(List <object> key) { string.Join("','", key); MABPDA ABPrepo = new MABPDA(imap_); ABPrepo.Conditions(new Conditions(nameof(MABP.ABPID), Operator.In("'" + string.Join("','", key) + "'"))); MABP toUpdate = new MABP() { Flag = 4 }; ABPrepo.UpdateFiltered(toUpdate, ref exec); return(exec.Message); }