public ApplicationPage() { m_DataSet = new DataAccess.Northwind.NorthwindDataSet(); m_TableAdapterManager = new DataAccess.Northwind.NorthwindDataSetTableAdapters.TableAdapterManager(); m_ServiceManager = new Research.Services.Northwind.NorthwindDataSetServices.ServiceManager(m_TableAdapterManager); m_IsCached = new Dictionary<string, bool>(); PreLoad += new EventHandler(ApplicationPage_PreLoad); }
public override void Dispose() { if (m_TableAdapterManager != null) m_TableAdapterManager.Dispose(); if (m_DataSet != null) m_DataSet.Dispose(); m_ServiceManager = null; m_TableAdapterManager = null; m_DataSet = null; base.Dispose(); }
public ServiceManager(Research.DataAccess.Northwind.NorthwindDataSetTableAdapters.TableAdapterManager manager) { m_TableAdapterManager = manager; }