Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public static bool UpdateBulkMeter(BulkMeterMaster BulkMeter)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALBulkMeter();
         flag = objinter.UpdateRecord(BulkMeter);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Exemplo n.º 4
0
 public static Boolean IsExistBulkMeterDiviceID(String Device)
 {
     Boolean flag = false;
     try
     {
         IExistItem objtext = new BALBulkMeter();
         flag = objtext.IsExistItem(Device);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Exemplo n.º 5
0
 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;
     }
 }
Exemplo n.º 6
0
 public static BulkMeterMappingList BulkMeterUnAssign(String BulkMeterID)
 {
     try
     {
         IRecord1View objinter = new BALBulkMeter();
         BulkMeterMappingList record = (BulkMeterMappingList)objinter.RecordView(BulkMeterID);
         return record;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemplo n.º 7
0
 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;
     }
 }
Exemplo n.º 8
0
 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;
     }
 }