public gameDataContext() { DbConnection = new ConnectionContainer() { Connection = GameDataConnection.CreateConnection() }; }
public void Dispose() { if (_Cashout != null) { _Cashout.Dispose(); } _Cashout = null; if (_connectionContainer != null) { _connectionContainer.Dispose(); } _connectionContainer = null; }