Пример #1
0
 public void MethodExpression9([IncludeDataSources(TestProvName.AllSQLite)] string context)
 {
     using (var db = new TestDataConnection(context))
         AreEqual(
             from ch in Child
             from p in
             from p in Parent
             where p.ParentID == ch.ChildID / 10
             select p
             where ch.ParentID == p.ParentID
             select ch
             ,
             from ch in db.Child
             from p in TestDataConnection.GetParent9(db, ch)
             where ch.ParentID == p.ParentID
             select ch);
 }
Пример #2
0
 public void MethodExpression9()
 {
     using (var db = new TestDataConnection())
         AreEqual(
             from ch in Child
             from p in
             from p in Parent
             where p.ParentID == ch.ChildID / 10
             select p
             where ch.ParentID == p.ParentID
             select ch
             ,
             from ch in db.Child
             from p in TestDataConnection.GetParent9(db, ch)
             where ch.ParentID == p.ParentID
             select ch);
 }