Beispiel #1
0
 public static void Test(Inheritance inheritance)
 {
     inheritance.ForEachProvider(db => inheritance.AreEqual(
                                     inheritance.Parent.Select(p => new ParentEx {
         Field1 = true, ParentID = p.ParentID, Value1 = p.Value1
     }).Cast <Parent>(),
                                     db.Parent.Select(p => new ParentEx {
         Field1 = true, ParentID = p.ParentID, Value1 = p.Value1
     }).Cast <Parent>()));
 }
Beispiel #2
0
			public static void Test(Inheritance inheritance)
			{
			inheritance.ForEachProvider(db => inheritance.AreEqual(
				inheritance.Parent.Select(p => new ParentEx { Field1 = true, ParentID = p.ParentID, Value1 = p.Value1 }).Cast<Parent>(),
				         db.Parent.Select(p => new ParentEx { Field1 = true, ParentID = p.ParentID, Value1 = p.Value1 }).Cast<Parent>()));
			}