public void AndEqualLess() { WhereList w = new WhereList(global::SqlBuilder.Format.MsSQL); w.EqualLess("a", "b", "c"); string result = w.GetSql(); string sql = "[a]<=@a AND [b]<=@b AND [c]<=@c"; Assert.AreEqual(sql, result); }
public void AndEqualLess() { SqlBuilder.DefaultFormatter = FormatterLibrary.MsSql; WhereList w = new WhereList(SqlBuilder.DefaultFormatter); w.EqualLess("a", "b", "c"); string result = w.GetSql(); string sql = "[a]<=@a AND [b]<=@b AND [c]<=@c"; Assert.AreEqual(sql, result); }
public void AndEqualLess() { SuperSql.DefaultFormatter = FormatterLibrary.MsSql; var w = new WhereList(SuperSql.DefaultFormatter); w.EqualLess("a", "b", "c"); var result = w.GetSql(); var sql = "[a]<=@a AND [b]<=@b AND [c]<=@c"; Assert.Equal(sql, result); }