@@ -407,16 +407,19 @@ public void Can_Where_using_filter_with_nested_properties()
407
407
target = Db . Select ( q ) ;
408
408
Assert . That ( target . Count , Is . EqualTo ( 1 ) ) ;
409
409
410
- q = Db . From < TestType > ( ) .
411
- Join < TestType2 > ( ) .
412
- Join < TestType2 , TestType3 > ( ) .
413
- Where ( x => ! x . NullableBoolCol . HasValue && x . TestType2ObjCol . BoolCol &&
414
- x . NullableIntCol == new CustomInt ( 10 ) ) .
415
- GroupBy ( x => x . TestType2ObjCol . TestType3ObjCol . CustomInt ) .
416
- Having ( x => ( Sql . Max ( x . TestType2ObjCol . TestType3ObjCol . CustomInt ) ?? 0 ) != 10 ) .
417
- Select ( x => x . TestType2ObjCol . TestType3ObjCol . CustomInt ) ;
418
- target = Db . Select ( q ) ;
419
- Assert . That ( target . Count , Is . EqualTo ( 1 ) ) ;
410
+ //q = Db.From<TestType>().
411
+ // Join<TestType2>().
412
+ // Join<TestType2, TestType3>().
413
+ // Where(x => !x.NullableBoolCol.HasValue && x.TestType2ObjCol.BoolCol &&
414
+ // x.NullableIntCol == new CustomInt(10)).
415
+ // GroupBy(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt).
416
+ // Having(x => (Sql.Max(x.TestType2ObjCol.TestType3ObjCol.CustomInt) ?? 0) != 10).
417
+ // Select(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt);
418
+ //target = Db.Select(q);
419
+ //Assert.That(target.Count, Is.EqualTo(1));
420
+ //Assert.That(q.Params[0].Value, Is.EqualTo(10));
421
+ //Assert.That(q.Params[1].Value, Is.EqualTo(0)); //= "{Value:0}"
422
+ //Assert.That(q.Params[2].Value, Is.EqualTo(10));
420
423
}
421
424
422
425
[ Test ]
0 commit comments