public DonorMasterReportUI()
 {
     InitializeComponent();
     oServiceTypeRep = new ServiceTypeRepository();
     oServiceNameRep = new ServiceNameRepository();
     oDateTypeRepository = new DateTypeRepository();
     oDonorRepository = new DonorRepository();
     oSpecialDayRepository = new SpecialDayRepository();
     oMonthsRepository = new MonthsRepository();
     oThidhiRepository = new ThidhiRepository();
     oTeluguCalendarRepository = new TeluguCalendarRepository();
     //  oPakshaRepository = new PakshaRepository();
     lstServiceType = oServiceTypeRep.GetAllAsQuerable().ToList();
     lstMonths = oMonthsRepository.GetAllAsQuerable().ToList();
     lstThidhi = oThidhiRepository.GetAllAsQuerable().ToList();
     lstDateType = oDateTypeRepository.GetAllAsQuerable().ToList();
     lstDateType.RemoveAt(0);
     lstSpecialDay = oSpecialDayRepository.GetAllAsQuerable().ToList();
     //  lstPaksha = oPakshaRepository.GetAllAsQuerable().ToList();
 }
Example #2
0
 public DonorMasterReportUI()
 {
     InitializeComponent();
     oServiceTypeRep           = new ServiceTypeRepository();
     oServiceNameRep           = new ServiceNameRepository();
     oDateTypeRepository       = new DateTypeRepository();
     oDonorRepository          = new DonorRepository();
     oSpecialDayRepository     = new SpecialDayRepository();
     oMonthsRepository         = new MonthsRepository();
     oThidhiRepository         = new ThidhiRepository();
     oTeluguCalendarRepository = new TeluguCalendarRepository();
     //  oPakshaRepository = new PakshaRepository();
     lstServiceType = oServiceTypeRep.GetAllAsQuerable().ToList();
     lstMonths      = oMonthsRepository.GetAllAsQuerable().ToList();
     lstThidhi      = oThidhiRepository.GetAllAsQuerable().ToList();
     lstDateType    = oDateTypeRepository.GetAllAsQuerable().ToList();
     lstDateType.RemoveAt(0);
     lstSpecialDay = oSpecialDayRepository.GetAllAsQuerable().ToList();
     //  lstPaksha = oPakshaRepository.GetAllAsQuerable().ToList();
 }