public void CreateQmmTableTest()
        {
            var qm = new QueueMessageManagerSql(connectionString);

            Assert.IsNotNull(qm);

            Assert.IsTrue(qm.CreateDatastore(), qm.ErrorMessage);
        }
        public void CreateQmmTableTest()
        {
            var qm = new QueueMessageManagerSql(connectionString);

            Assert.IsNotNull(qm);

            Assert.IsTrue(qm.CreateDatastore(), qm.ErrorMessage);
        }
        private void btnCreateTable_Click(object sender, EventArgs e)
        {
            // Create database table and store procedure if it doesn't exist
            QueueMessageManager manager = new QueueMessageManagerSql();

            if (!manager.CreateDatastore())
            {
                MessageBox.Show(manager.ErrorMessage, "Error creating QueueTable", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else
            {
                MessageBox.Show("QueueTable created", "Queue Table Creation", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
 public void CreateDataBaseTest()
 {
     var manager = new QueueMessageManagerSql();            
     Assert.IsTrue(manager.CreateDatastore(),manager.ErrorMessage);            
 }
 private void btnCreateTable_Click(object sender, EventArgs e)
 {
     // Create database table and store procedure if it doesn't exist
     QueueMessageManager manager = new QueueMessageManagerSql();
     if (!manager.CreateDatastore())
         MessageBox.Show(manager.ErrorMessage, "Error creating QueueTable", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     else
         MessageBox.Show("QueueTable created","Queue Table Creation", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }
Пример #6
0
        public void CreateDataBaseTest()
        {
            var manager = new QueueMessageManagerSql();

            Assert.IsTrue(manager.CreateDatastore(), manager.ErrorMessage);
        }