Exemplo n.º 1
0
 public ServerBase()
 {
     DBConnection = DBObjectFactory.GetConnectionObject();
     DBConnection.ConnectionString = ConfigurationManager.ConnectionStrings["campus_conciergeConnectionString"].ToString();
     DBCommand            = DBObjectFactory.GetCommandObject();
     DBCommand.Connection = DBConnection;
     DBDataAdpterObject   = DBObjectFactory.GetDataAdapterObject(DBCommand);
     DBDataAdpterObject.SelectCommand.CommandTimeout = 60;
 }
Exemplo n.º 2
0
 public ServerBase()
 {
     AddonPaymentUrl = ConfigurationManager.AppSettings["AddonPayment"].ToString();
     PaymentUrl      = ConfigurationManager.AppSettings["Payment"].ToString();
     Trackurl        = ConfigurationManager.AppSettings["Track"].ToString();
     CbmUrl          = ConfigurationManager.AppSettings["cbm"].ToString();
     DBConnection    = DBObjectFactory.GetConnectionObject();
     DBConnection.ConnectionString = ConfigurationManager.ConnectionStrings["DBConnectionString"].ToString();
     DBCommand            = DBObjectFactory.GetCommandObject();
     DBCommand.Connection = DBConnection;
     DBDataAdpterObject   = DBObjectFactory.GetDataAdapterObject(DBCommand);
     DBDataAdpterObject.SelectCommand.CommandTimeout = 60;
 }