Exemple #1
0
 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;
         }
     }
 }
Exemple #2
0
 private PolicyDL()
 {
     dbConnection = new ProxyMarketDB();
 }
Exemple #3
0
 private OrderDL()
 {
     dbConnection = new ProxyMarketDB();
 }
Exemple #4
0
 private StoreDL()
 {
     dbConnection = new ProxyMarketDB();
 }
Exemple #5
0
 private AdminDL()
 {
     dbConnection       = new ProxyMarketDB();
     dbBackupConnection = MarketBackUpDB.Instance;
 }
Exemple #6
0
 private FeedDL()
 {
     dbConnection = new ProxyMarketDB();
 }