Esempio n. 1
0
            public void The_Original_Database_Should_Not_Contain_The_Removed_Table()
            {
                TableRemovalOperation op = new TableRemovalOperation(db.Tables[0]);

                op.RunOperation();

                Assert.That(db.Tables, Has.Count(1));
            }
Esempio n. 2
0
            public void The_Tables_Relationships_Should_Be_Removed()
            {
                ITable table = db.Tables[0];

                Assert.That(table.Relationships, Is.Not.Empty);

                TableRemovalOperation op = new TableRemovalOperation(table);

                op.RunOperation();

                Assert.That(table.Relationships, Is.Empty);
            }
            public void The_Tables_Relationships_Should_Be_Removed()
            {
                ITable table = db.Tables[0];

                Assert.That(table.Relationships, Is.Not.Empty);

                TableRemovalOperation op = new TableRemovalOperation(table);
                op.RunOperation();

                Assert.That(table.Relationships, Is.Empty);
            }
            public void The_Original_Database_Should_Not_Contain_The_Removed_Table()
            {
                TableRemovalOperation op = new TableRemovalOperation(db.Tables[0]);
                op.RunOperation();

                Assert.That(db.Tables, Has.Count(1));
            }