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