コード例 #1
0
        public void Test157()
        {
            var renameColumn = SqlDdl.Rename(Catalog.Schemas["main"].Tables["customer"].TableColumns["LastName"], "LastName1");

            Assert.Throws <NotSupportedException>(() => Console.Write(Compile(renameColumn)));
        }
コード例 #2
0
        public void Test162()
        {
            var alter = SqlDdl.Rename(Catalog.Schemas["main"].Tables["customer"], "SomeWierdTableName");

            Console.Write(Compile(alter));
        }
コード例 #3
0
        public void Test157()
        {
            var renameColumn = SqlDdl.Rename(schema.Tables["customer"].TableColumns["first_name"], "FirstName");

            Console.Write(Compile(renameColumn));
        }