예제 #1
0
 public gameDataContext()
 {
     DbConnection = new ConnectionContainer()
     {
         Connection = GameDataConnection.CreateConnection()
     };
 }
예제 #2
0
        public void Dispose()
        {
            if (_Cashout != null)
            {
                _Cashout.Dispose();
            }
            _Cashout = null;

            if (_connectionContainer != null)
            {
                _connectionContainer.Dispose();
            }
            _connectionContainer = null;
        }