public UnitOfWork(IDbFactory factory) { _dbFactory = factory; _dbcontext = _dbFactory.Initialize(); }
public PixsumContext Initialize() { return(pc ?? (pc = new PixsumContext())); }