예제 #1
0
 public static DAL.MeterSearchList ViewMeter(String PropertyID,String MeterID)
 {
     try
        {
        IRecord2View objview = new BALSearch();
        MeterSearchList VwMeter = (MeterSearchList)objview.RecordView(PropertyID, MeterID);
        return VwMeter;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #2
0
 public static DAL.UserConsumerDetails UserConsumer(String UserID)
 {
     try
        {
        IGetRecord objinter = new BALSearch();
        UserConsumerDetails Consumer = (UserConsumerDetails)objinter.GetRecord(UserID);
        return Consumer;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #3
0
 public static DAL.BillSearchList ViewBill(String PropertyID, String OwnerID, String ConsumerID)
 {
     try
        {
        IRecordView3 objview = new BALSearch();
        DAL.BillSearchList Vwbill = (DAL.BillSearchList)objview.RecordView(PropertyID, OwnerID, ConsumerID);
        return Vwbill;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #4
0
 public static List<SelectListItem> SearchFieldDDList()
 {
     try
        {
        ISearchField sobj = new BALSearch();
        List<SelectListItem> lstsearchField = sobj.SearchField();
        return lstsearchField;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #5
0
 public static IEnumerable<DAL.CommonSearchList> SearchRecordList(String Field, String value)
 {
     try
        {
        ISearchResult objtext = new BALSearch();
        IEnumerable<DAL.CommonSearchList> listRecord = (IEnumerable<DAL.CommonSearchList>)objtext.SearchResultList(Field, value);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #6
0
 public static List<SelectListItem> MeterSupplierDropDownList(String PropertyID)
 {
     try
        {
        IDropDownList sobj = new BALSearch();
        List<SelectListItem> lstsearchField = sobj.DropDownList(PropertyID);
        return lstsearchField;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #7
0
 public static IEnumerable<DAL.MeterSearchList> MeterSearchRecordList(String SearchValue)
 {
     try
        {
        IGetAllRecordList objtext = new BALSearch();
        IEnumerable<DAL.MeterSearchList> listRecord = (IEnumerable<DAL.MeterSearchList>)objtext.RecordList(SearchValue);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #8
0
 public static IEnumerable<DAL.MeterSearchList> MeterRecordList(String PropertyID)
 {
     try
        {
        IRecordList1 objtext = new BALSearch();
        IEnumerable<DAL.MeterSearchList> listRecord = (IEnumerable<DAL.MeterSearchList>)objtext.RecordList(PropertyID);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #9
0
 public static DAL.CreditControlSearchList CreditControlRecordList(String SiteID, String PropertyID, String OwnerID, String ConsumerID)
 {
     try
        {
        IRecordView4 objtext = new BALSearch();
        DAL.CreditControlSearchList Vwobj = (DAL.CreditControlSearchList) objtext.RecordView(SiteID, PropertyID, OwnerID, ConsumerID);
        return Vwobj;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
예제 #10
0
 public static DAL.ConsumerCommonDetails ConsumerCommonView(String ClintID, String SiteID, String PropertyID, String OwnerID, String ConsumerID,String ConsumerStartDate,String ConsumerEnddate)
 {
     try
        {
        IRecordView7 objview = new BALSearch();
        DAL.ConsumerCommonDetails Consumer = (DAL.ConsumerCommonDetails)objview.RecordView(ClintID, SiteID, PropertyID, OwnerID, ConsumerID, ConsumerStartDate, ConsumerEnddate);
        return Consumer;
        }
        catch (Exception ex)
        {
        throw;
        }
 }