Exemplo n.º 1
0
        public void initialize()
        {
            LinqToSqlDataContext sqlContext = new LinqToSqlDataContext(new DataClasses1DataContext());

            _iDataContext = new MyProductsDataContext(sqlContext.Repository <Product>().ToList(), sqlContext.Repository <ProductReview>().ToList());
        }