public void Test156()
        {
            SqlAlterTable alter =
                SqlDdl.Alter(
                    schema.Tables["customer"],
                    SqlDdl.DropColumn(schema.Tables["customer"].TableColumns["first_name"]));

            Console.Write(Compile(alter));
        }
Exemplo n.º 2
0
        public void Test156()
        {
            SqlAlterTable alter = SqlDdl.Alter(Catalog.Schemas["main"].Tables["customer"], SqlDdl.DropColumn(Catalog.Schemas["main"].Tables["customer"].TableColumns["CompanyName"]));

            Assert.Throws <NotSupportedException>(() => Console.Write(Compile(alter)));
        }