/// <summary> /// Create and Return Unit of work Object based on the enagegemet ID /// </summary> /// <param name="eng"></param> /// <returns></returns> public IUnitOfWork GetUnitOfWork(int eng) { OLTPContext oltpContext = dataContextFactory.GetDbContext(eng); unitOfWork = new UnitOfWork <OLTPContext>(oltpContext); return(unitOfWork); }