Exemplo n.º 1
0
        public void Contains9()
        {
            var arr = Parent1.Take(2).ToArray();

            ForEachProvider(db => AreEqual(
                                from p in    Parent1 where arr.Contains(p) select p,
                                from p in db.Parent1 where arr.Contains(p) select p));
        }
Exemplo n.º 2
0
        public void Contains15([DataSources] string context)
        {
            var arr = Parent1.Take(2).ToArray();

            using (var db = GetDataContext(context))
                AreEqual(
                    from p in    Child where arr.Contains(p.Parent1) select p,
                    from p in db.Child where arr.Contains(p.Parent1) select p);
        }
Exemplo n.º 3
0
        public void Contains9(string context)
        {
            var arr = Parent1.Take(2).ToArray();

            using (var db = GetDataContext(context))
                AreEqual(
                    from p in    Parent1 where arr.Contains(p) select p,
                    from p in db.Parent1 where arr.Contains(p) select p);
        }