Exemple #1
0
        public void TestConditionWhereLike()
        {
            var sqlRaw = "select * from test";
            var nsql   = new NSQLQuery(sqlRaw);

            nsql.WhereLike("coluna1", "%teste%");

            var expected = "select * from test WHERE coluna1 LIKE '%teste%'";

            Assert.AreEqual(expected, nsql.ToSql(), true);
        }