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); }
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); }
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); }