public static DatabasePopulator ForDataSet(DataSet dataSet)
        {
            if (dataSet == null)
                throw new ArgumentNullException("dataSet");
            DatabasePopulator pop = new DatabasePopulator();
            pop.Populate(dataSet);

            return pop;
        }
        public static DatabasePopulator ForDataSet(DataSet dataSet)
        {
            if (dataSet == null)
            {
                throw new ArgumentNullException("dataSet");
            }
            DatabasePopulator pop = new DatabasePopulator();

            pop.Populate(dataSet);

            return(pop);
        }
        public void SetUp()
        {
            this.db = new UserOrderProductDataSet();
            this.pop = new DatabasePopulator();
            this.pop.Populate(this.db);

            this.users=this.pop.Tables[this.db.Tables["Users"]];
            this.orders=this.pop.Tables[this.db.Tables["Orders"]];
            this.products=this.pop.Tables[this.db.Tables["Products"]];
            this.orderProducts=this.pop.Tables[this.db.Tables["OrderProducts"]];
        }