public WorkCodeTypeController() : base() { workCodeTypeOper = new TbBaseOper <WorkCodeType>(HibernateOper, typeof(WorkCodeType)); workCodeType1Oper = new TbBaseOper <WorkCodeType1>(HibernateOper, typeof(WorkCodeType1)); workCodeType2Oper = new TbBaseOper <WorkCodeType2>(HibernateOper, typeof(WorkCodeType2)); }
public PowerActionFilterAttribute() { IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empModFuncOper = new TbBaseOper <EmpModFunc>(hibernateOper, typeof(EmpModFunc)); empModOper = new TbBaseOper <EmpMod>(hibernateOper, typeof(EmpMod)); }
public LoginInvoker(IOperationInvoker invoker) { this.OperInvoker = invoker; IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empModFuncOper = new TbBaseOper<EmpModFunc>(hibernateOper, typeof(EmpModFunc)); }
public ActionResult DownLoadDept() { string fileName = Server.MapPath("/") + @"Files\Temp\" + "1.xlsx"; IList <ExcelField> fields = new List <ExcelField>(); ExcelField ef = null; ef = new ExcelField("Code", "代码"); fields.Add(ef); ef = new ExcelField("Name", "名字"); fields.Add(ef); ef = new ExcelField("TestExcel", "测试Excel"); fields.Add(ef); TbBaseOper <Department> departmentOper = new TbBaseOper <Department>(HibernateOper, typeof(Department)); IList <Department> list = departmentOper.Get(); //ExportExcel ee = new ExportExcel(fileName, "abc", fields); ExportExcel ee = new ExportExcel(fileName, typeof(Department)); ee.Save(list); //返回文件 return(File(fileName, "xlsx", "1.xlsx")); }
public WorkCodeTypeController() :base() { workCodeTypeOper = new TbBaseOper<WorkCodeType>(HibernateOper, typeof(WorkCodeType)); workCodeType1Oper = new TbBaseOper<WorkCodeType1>(HibernateOper, typeof(WorkCodeType1)); workCodeType2Oper = new TbBaseOper<WorkCodeType2>(HibernateOper, typeof(WorkCodeType2)); }
public WorkController() :base() { workOper = new TbBaseOper<Work>(HibernateOper, typeof(Work)); workSubOper = new TbBaseOper<WorkSub>(HibernateOper, typeof(WorkSub)); workDetailOper = new TbBaseOper<WorkDetail>(HibernateOper, typeof(WorkDetail)); customerScoreOper = new TbBaseOper<CustomerScore>(HibernateOper, typeof(CustomerScore)); workTypeDetailOper = new TbBaseOper<WorkTypeDetail>(HibernateOper, typeof(WorkTypeDetail)); }
public PowerInvoker(IOperationInvoker invoker, string funcName) { this.OperInvoker = invoker; this.FuncName = funcName; IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empModFuncOper = new TbBaseOper<EmpModFunc>(hibernateOper, typeof(EmpModFunc)); empModOper = new TbBaseOper<EmpMod>(hibernateOper, typeof(EmpMod)); }
public WorkController() : base() { workOper = new TbBaseOper <Work>(HibernateOper, typeof(Work)); workSubOper = new TbBaseOper <WorkSub>(HibernateOper, typeof(WorkSub)); workDetailOper = new TbBaseOper <WorkDetail>(HibernateOper, typeof(WorkDetail)); customerScoreOper = new TbBaseOper <CustomerScore>(HibernateOper, typeof(CustomerScore)); workTypeDetailOper = new TbBaseOper <WorkTypeDetail>(HibernateOper, typeof(WorkTypeDetail)); }
public ServiceEmployee() : base() { try { //实例化人员操作对象 employeeOper = new TbBaseOper<Employee>(HibernateOper, typeof (Employee)); } catch (Exception e) { System.Console.WriteLine(e.Message); } }
public CheckStockDetailController() : base() { checkStockDetailOper = new TbBaseOper<CheckStockDetail>(HibernateOper, typeof(CheckStockDetail)); }
public ModFuncController() : base() { modFuncOper = new TbBaseOper <ModFunc>(HibernateOper, typeof(ModFunc)); }
public HomeController() { IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empOper = new TbBaseOper<Employee>(hibernateOper,typeof(Employee)); }
public EmpDataController() :base() { empDataOper = new TbBaseOper<EmpData>(HibernateOper, typeof(EmpData)); }
public PurOrderController() : base() { purOrderOper = new TbBaseOper<PurOrder>(HibernateOper, typeof(PurOrder)); }
public UnitController() : base() { unitOper = new TbBaseOper <Unit>(HibernateOper, typeof(Unit)); }
public CheckStockController() : base() { checkStockOper = new TbBaseOper <CheckStock>(HibernateOper, typeof(CheckStock)); }
public PhotoController() : base() { photoOper = new TbBaseOper <Photo>(HibernateOper, typeof(Photo)); }
public PositionController() :base() { positionOper = new TbBaseOper<Position>(HibernateOper, typeof(Position)); }
public PowerActionFilterAttribute() { IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empModFuncOper = new TbBaseOper<EmpModFunc>(hibernateOper, typeof(EmpModFunc)); empModOper = new TbBaseOper<EmpMod>(hibernateOper, typeof(EmpMod)); }
public EmployeeController() : base() { employeeOper = new TbBaseOper <Employee>(HibernateOper, typeof(Employee)); }
public SellPriceInfoController() : base() { sellPriceInfoOper = new TbBaseOper<SellPriceInfo>(HibernateOper, typeof(SellPriceInfo)); }
public StockInitController() :base() { stockInitOper = new TbBaseOper<StockInit>(HibernateOper, typeof(StockInit)); }
public DepartmentController() : base() { departmentOper = new TbBaseOper <Department>(HibernateOper, typeof(Department)); }
public CheckStockController() : base() { checkStockOper = new TbBaseOper<CheckStock>(HibernateOper, typeof(CheckStock)); }
public StockController() :base() { stockOper = new TbBaseOper<Stock>(HibernateOper, typeof(Stock)); }
public PhotoController() :base() { photoOper = new TbBaseOper<Photo>(HibernateOper, typeof(Photo)); }
public HomeController() { IHibernateOper hibernateOper = HibernateFactory.GetInstance(); empOper = new TbBaseOper <Employee>(hibernateOper, typeof(Employee)); }
public EmpModFuncController() :base() { empModFuncOper = new TbBaseOper<EmpModFunc>(HibernateOper, typeof(EmpModFunc)); }
public FileController() : base() { fileOper = new TbBaseOper <File>(HibernateOper, typeof(File)); }
public PositionController() : base() { positionOper = new TbBaseOper <Position>(HibernateOper, typeof(Position)); }
public RentOrderController() : base() { rentOrderOper = new TbBaseOper <RentOrder>(HibernateOper, typeof(RentOrder)); }
public EmpModFuncController() : base() { empModFuncOper = new TbBaseOper <EmpModFunc>(HibernateOper, typeof(EmpModFunc)); }
public RentOrderDetailController() : base() { rentOrderDetailOper = new TbBaseOper<RentOrderDetail>(HibernateOper, typeof(RentOrderDetail)); }
public CompanyController() :base() { companyOper = new TbBaseOper<Company>(HibernateOper, typeof(Company)); }
public GoodsInfoController() : base() { goodsInfoOper = new TbBaseOper <GoodsInfo>(HibernateOper, typeof(GoodsInfo)); }
public SellOrderDetailController() : base() { sellOrderDetailOper = new TbBaseOper <SellOrderDetail>(HibernateOper, typeof(SellOrderDetail)); }
public AddrCodeController() :base() { addrCodeOper = new TbBaseOper<AddrCode>(HibernateOper, typeof(AddrCode)); }
public EmployeeController() : base() { employeeOper = new TbBaseOper<Employee>(HibernateOper, typeof(Employee)); }
public GoodsTypeController() : base() { goodsTypeOper = new TbBaseOper <GoodsType>(HibernateOper, typeof(GoodsType)); }
public VendorInfoController() : base() { vendorInfoOper = new TbBaseOper <VendorInfo>(HibernateOper, typeof(VendorInfo)); }
public PurOrderController() : base() { purOrderOper = new TbBaseOper <PurOrder>(HibernateOper, typeof(PurOrder)); }
public EmpModController() : base() { empModOper = new TbBaseOper <EmpMod>(HibernateOper, typeof(EmpMod)); }
public ReqOrderController() : base() { reqOrderOper = new TbBaseOper<ReqOrder>(HibernateOper, typeof(ReqOrder)); }
public UnitController() :base() { unitOper = new TbBaseOper<Unit>(HibernateOper, typeof(Unit)); }
public AddrCodeController() : base() { addrCodeOper = new TbBaseOper <AddrCode>(HibernateOper, typeof(AddrCode)); }
public VendorInfoController() : base() { vendorInfoOper = new TbBaseOper<VendorInfo>(HibernateOper, typeof(VendorInfo)); }
public StockInitController() : base() { stockInitOper = new TbBaseOper <StockInit>(HibernateOper, typeof(StockInit)); }
public CustomerController() :base() { customerOper = new TbBaseOper<Customer>(HibernateOper, typeof(Customer)); }
public GoodsInfoController() : base() { goodsInfoOper = new TbBaseOper<GoodsInfo>(HibernateOper, typeof(GoodsInfo)); }
public PurOrderDetailController() : base() { purOrderDetailOper = new TbBaseOper <PurOrderDetail>(HibernateOper, typeof(PurOrderDetail)); }
public StorehouseController() : base() { storehouseOper = new TbBaseOper <Storehouse>(HibernateOper, typeof(Storehouse)); }
public StockController() : base() { stockOper = new TbBaseOper <Stock>(HibernateOper, typeof(Stock)); }
public CompanyController() : base() { companyOper = new TbBaseOper <Company>(HibernateOper, typeof(Company)); }
public GardenController() : base() { gardenOper = new TbBaseOper <Garden>(HibernateOper, typeof(Garden)); }
public CustomerController() : base() { customerOper = new TbBaseOper <Customer>(HibernateOper, typeof(Customer)); }
public SellOrderController() : base() { sellOrderOper = new TbBaseOper<SellOrder>(HibernateOper, typeof(SellOrder)); }
public StorehouseController() : base() { storehouseOper = new TbBaseOper<Storehouse>(HibernateOper, typeof(Storehouse)); }
public StorageAlarmController() :base() { storageAlarmOper = new TbBaseOper<StorageAlarm>(HibernateOper, typeof(StorageAlarm)); }
public RetOrderDetailController() : base() { retOrderDetailOper = new TbBaseOper <RetOrderDetail>(HibernateOper, typeof(RetOrderDetail)); }
public GardenController() :base() { gardenOper = new TbBaseOper<Garden>(HibernateOper, typeof(Garden)); }