@@ -51,33 +51,33 @@ public async Task WithClauseFailsWithFetchAsync()
51
51
await ( data . CleanupAsync ( ) ) ;
52
52
}
53
53
54
- [ Test ]
55
- public void ValidWithSemanticsAsync ( )
56
- {
57
- using ( var s = OpenSession ( ) )
58
- {
59
-
60
- Assert . Multiple (
61
- ( ) =>
62
- {
63
- return Task . FromResult < object > ( Assert . DoesNotThrowAsync (
64
- ( ) => s . CreateQuery (
65
- "from Animal a inner join a.offspring o inner join o.mother as m inner join m.father as f with o.bodyWeight > 1" ) . ListAsync ( )
66
- ) ) ;
67
-
68
- return Task . FromResult < object > ( Assert . DoesNotThrowAsync (
69
- ( ) =>
70
- s . CreateQuery ( "from Human h inner join h.friends as f with f.bodyWeight < :someLimit" ) . SetDouble ( "someLimit" , 1 ) . ListAsync ( ) , "Failed query 1" ) ) ;
71
-
72
- return Task . FromResult < object > ( Assert . DoesNotThrowAsync (
73
- ( ) =>
74
- s . CreateQuery ( "from Human h inner join h.offspring o with o.mother.father = :cousin" )
75
- . SetInt32 ( "cousin" , 123 )
76
- . ListAsync ( ) ,
77
- "Failed query 2" ) ) ;
78
- } ) ;
79
- }
80
- }
54
+ // [Test]
55
+ // public void ValidWithSemanticsAsync()
56
+ // {
57
+ // using (var s = OpenSession())
58
+ // {
59
+ //
60
+ // Assert.Multiple(
61
+ // () =>
62
+ // {
63
+ // return Task.FromResult<object>(Assert.DoesNotThrowAsync(
64
+ // () => s.CreateQuery(
65
+ // "from Animal a inner join a.offspring o inner join o.mother as m inner join m.father as f with o.bodyWeight > 1").ListAsync()
66
+ // ));
67
+ //
68
+ // return Task.FromResult<object>(Assert.DoesNotThrowAsync(
69
+ // () =>
70
+ // s.CreateQuery("from Human h inner join h.friends as f with f.bodyWeight < :someLimit").SetDouble("someLimit", 1).ListAsync(), "Failed query 1"));
71
+ //
72
+ // return Task.FromResult<object>(Assert.DoesNotThrowAsync(
73
+ // () =>
74
+ // s.CreateQuery("from Human h inner join h.offspring o with o.mother.father = :cousin")
75
+ // .SetInt32("cousin", 123)
76
+ // .ListAsync(),
77
+ // "Failed query 2"));
78
+ // });
79
+ // }
80
+ // }
81
81
82
82
[ Test ]
83
83
public async Task WithClauseAsync ( )
0 commit comments