public DataAccessLayer()
        {
            adpCategories = new NorthwindDataSetTableAdapters.CategoriesTableAdapter();
            tblCategories = new NorthwindDataSet.CategoriesDataTable();

            adpSuppliers = new NorthwindDataSetTableAdapters.SuppliersTableAdapter();
            tblSuppliers = new NorthwindDataSet.SuppliersDataTable();

            adpProducts = new NorthwindDataSetTableAdapters.ProductsTableAdapter();
            tblProducts = new NorthwindDataSet.ProductsDataTable();
        }
Exemplo n.º 2
0
 // constructor
 public CrudOperationsInTypedDataSet()
 {
     _adpProducts = new NorthwindDataSetTableAdapters.ProductsTableAdapter();
     _tblProducts = new NorthwindDataSet.ProductsDataTable();
 }