public static BulkMeterList ViewBulkMeter(String BulkMeterId) { try { Icontext objinter = new BALBulkMeter(); BulkMeterList record = (BulkMeterList)objinter.ViewRecord(Convert.ToInt64(BulkMeterId)); return record; } catch (Exception ex) { throw; } }
public static Boolean SaveUnAssignBulkMeterInProperty(List<Object>BulkMeter) { Boolean flag = false; try { IListRecordInsert objtext = new BALBulkMeter(); flag = objtext.AddRecord(BulkMeter); } catch (Exception ex) { throw; } return flag; }
public static bool UpdateBulkMeter(BulkMeterMaster BulkMeter) { Boolean flag = false; try { Icontext objinter = new BALBulkMeter(); flag = objinter.UpdateRecord(BulkMeter); } catch (Exception ex) { throw; } return flag; }
public static Boolean IsExistBulkMeterDiviceID(String Device) { Boolean flag = false; try { IExistItem objtext = new BALBulkMeter(); flag = objtext.IsExistItem(Device); } catch (Exception ex) { throw; } return flag; }
public static BulkMeterMaster EditBulkMeter(String BulkMeterID) { try { Icontext objinter = new BALBulkMeter(); BulkMeterMaster Bulk = (BulkMeterMaster)objinter.EditRecord(Convert.ToInt64(BulkMeterID)); return Bulk; } catch (Exception ex) { throw; } }
public static BulkMeterMappingList BulkMeterUnAssign(String BulkMeterID) { try { IRecord1View objinter = new BALBulkMeter(); BulkMeterMappingList record = (BulkMeterMappingList)objinter.RecordView(BulkMeterID); return record; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.BulkMeterList> BulkMeterRecordList() { try { Icontext objtext = new BALBulkMeter(); IEnumerable<DAL.BulkMeterList> listRecord = (IEnumerable<DAL.BulkMeterList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.BulkMeterMappingList> BulkMeterMappingRecordList(String UserType, String UserID, String RoleName) { try { IRecordList3 objtext = new BALBulkMeter(); IEnumerable<DAL.BulkMeterMappingList> listRecord = (IEnumerable<DAL.BulkMeterMappingList>)objtext.RecordList(UserType, UserID, RoleName); return listRecord; } catch (Exception ex) { throw; } }