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>())); }
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>())); }