Exemplo n.º 1
0
        public ECommerceProcessor(string connectionString)
        {
            env     = connectionString;
            sConfig = ServiceGenerator <ConfigurationService> .GetInstance(ConfigurationConstants.ConfigurationDatabase, env);

            sMember = ServiceGenerator <MembershipService> .GetInstance(ConfigurationConstants.MembershipDatabase, env);

            sOrder = ServiceGenerator <OrderCaptureService> .GetInstance(ConfigurationConstants.OrderCaptureDatabase, env);
        }
Exemplo n.º 2
0
        public GeneralProcessTest()
        {
            env     = ConfigurationManager.AppSettings["MongoConnectionString"];
            sConfig = ServiceGenerator <ConfigurationService> .GetInstance(ConfigurationConstants.ConfigurationDatabase, env);

            sMember = ServiceGenerator <MembershipService> .GetInstance(ConfigurationConstants.MembershipDatabase, env);

            sOrder = ServiceGenerator <OrderCaptureService> .GetInstance(ConfigurationConstants.OrderCaptureDatabase, env);
        }
Exemplo n.º 3
0
 public ServiceTestBase(string database)
 {
     env     = ConfigurationConstants.ConnectionStringQA;
     service = ServiceGenerator <TEntity> .GetInstance(database, env);
 }