public System.Data.Linq.DataContext GetDataContext()
        {
            // TODO: Connection string icin encryption yapılacak...
            if (_dataContext == null)
                _dataContext = new CheckoutDBDataContext(ConfigurationManager.ConnectionStrings[connectionStringName].ToString());

            return _dataContext;
        }
        //public System.Data.Linq.DataContext GetHistoryDataContext()
        //{
        //    // TODO: Connection string icin encryption yapılacak...
        //    if (_historyDataContext == null)
        //        _historyDataContext = new EComHistoryDBDataContext(ConfigurationManager.ConnectionStrings[connectionStringName].ToString());

        //    return _historyDataContext;
        //}

        public void DestroyContext()
        {
            if (_dataContext != null)
            {
                _dataContext.Connection.Close();
                _dataContext.Dispose();
                _dataContext = null;
            }
        }