public static ObservableCollection <dhModule> GetAllModule(dhDBnames objDBNames, dhModule ObjModule) { try { dsGeneral.dtPosModuleDataTable var_ret; if (ObjBlModule == null) { ObjBlModule = new blModule(); } var_ret = ObjBlModule.GetModule(objDBNames, ObjModule); ObservableCollection <dhModule> returnlist = BL.ReflectionUtility.DataTableToObservableCollection <dhModule>(var_ret); return(returnlist); } catch (Exception ex) { throw ex; } }
public static DataSet InsertUpdateModule(dhDBnames objDBNames, dhModule ObjModule) { try { DataSet var_ret; if (ObjBlModule == null) { ObjBlModule = new blModule(); } var_ret = ObjBlModule.InsertUpdateModule(objDBNames, ObjModule); return(var_ret); } catch (Exception ex) { throw ex; } }
public static dsGeneral.dtPosModuleDataTable GetModule(dhDBnames objDBNames, dhModule ObjModule) { try { dsGeneral.dtPosModuleDataTable var_ret; if (ObjBlModule == null) { ObjBlModule = new blModule(); } var_ret = ObjBlModule.GetModule(objDBNames, ObjModule); return(var_ret); } catch (Exception ex) { throw ex; } }