Beispiel #1
0
        public void MatchFtsTest([IncludeDataSources(true, TestProvName.AllSQLite)] string context)
        {
            using (var db = GetDataContext(context))
            {
                var q = from c in db.Types
                        where SqlLite.MatchFts(c, "some*")
                        select c;

                var str = q.ToString() !;
                Assert.True(str.Contains(" matches "));
            }
        }
Beispiel #2
0
        public void MatchFtsTest(string context)
        {
            using (var db = GetDataContext(context))
            {
                var q = from c in db.Types
                        where SqlLite.MatchFts(c, "some*")
                        select c;

                var str = q.ToString();
                Assert.True(str.Contains(" matches "));
            }
        }