Esempio n. 1
0
        public void AndNotEqualSimple()
        {
            WhereList w = new WhereList(global::SqlBuilder.Format.MsSQL);

            w.NotEqual("a", "b", "c");
            string result = w.GetSql();
            string sql    = "[a]!=@a AND [b]!=@b AND [c]!=@c";

            Assert.AreEqual(sql, result);
        }
Esempio n. 2
0
        public void AndNotEqualSimple()
        {
            SqlBuilder.DefaultFormatter = FormatterLibrary.MsSql;

            WhereList w = new WhereList(SqlBuilder.DefaultFormatter);

            w.NotEqual("a", "b", "c");
            string result = w.GetSql();
            string sql    = "[a]!=@a AND [b]!=@b AND [c]!=@c";

            Assert.AreEqual(sql, result);
        }
Esempio n. 3
0
        public void AndNotEqualSimple()
        {
            SuperSql.DefaultFormatter = FormatterLibrary.MsSql;

            var w = new WhereList(SuperSql.DefaultFormatter);

            w.NotEqual("a", "b", "c");
            var result = w.GetSql();
            var sql    = "[a]!=@a AND [b]!=@b AND [c]!=@c";

            Assert.Equal(sql, result);
        }