public ProxyMarketDB() { try { realMarketDB = MarketDB.Instance; } catch (InvalidOperationException e) { if (!IsConnected(e.Message) || !MarketDB.ToDisable) { throw; } } catch (SqlException e) { if (IsConnected(e.Message) || !MarketDB.ToDisable) { throw; } } }
private PolicyDL() { dbConnection = new ProxyMarketDB(); }
private OrderDL() { dbConnection = new ProxyMarketDB(); }
private StoreDL() { dbConnection = new ProxyMarketDB(); }
private AdminDL() { dbConnection = new ProxyMarketDB(); dbBackupConnection = MarketBackUpDB.Instance; }
private FeedDL() { dbConnection = new ProxyMarketDB(); }