Пример #1
0
        public virtual void UnquoteIdentifier()
        {
            HsqlCommandBuilder testSubject      = new HsqlCommandBuilder();
            string             quotedIdentifier = "\"foo\"";

            string expected = "foo";
            string actual   = testSubject.UnquoteIdentifier(quotedIdentifier);

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public virtual void GetUpdateCommand()
        {
            HsqlCommandBuilder testSubject = new HsqlCommandBuilder();

            testSubject.DataAdapter = new HsqlDataAdapter(
                "select * from information_schema.system_tables",
                "Protocol=Mem;Path=Test;User Id=SA;");
            bool useColumnsForParameterNames = true;

            HsqlCommand command = testSubject.GetUpdateCommand(useColumnsForParameterNames);

            Assert.Fail("TODO");
        }