コード例 #1
0
        public void AndEqualGreater()
        {
            WhereList w = new WhereList(global::SqlBuilder.Format.MsSQL);

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

            Assert.AreEqual(sql, result);
        }
コード例 #2
0
        public void AndEqualGreater()
        {
            SqlBuilder.DefaultFormatter = FormatterLibrary.MsSql;

            WhereList w = new WhereList(SqlBuilder.DefaultFormatter);

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

            Assert.AreEqual(sql, result);
        }
コード例 #3
0
        public void AndEqualGreater()
        {
            SuperSql.DefaultFormatter = FormatterLibrary.MsSql;

            var w = new WhereList(SuperSql.DefaultFormatter);

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

            Assert.Equal(sql, result);
        }