Skip to content

Commit 132f4d4

Browse files
Generate async files
1 parent 8d47c54 commit 132f4d4

File tree

9 files changed

+475
-1
lines changed

9 files changed

+475
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": 2,
3+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
4+
"source": "https://api.nuget.org/v3/index.json"
5+
}
9.26 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) .NET Foundation and Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
This Microsoft .NET Library may incorporate components from the projects listed
2+
below. Microsoft licenses these components under the Microsoft .NET Library
3+
software license terms. The original copyright notices and the licenses under
4+
which Microsoft received such components are set forth below for informational
5+
purposes only. Microsoft reserves all rights not expressly granted herein,
6+
whether by implication, estoppel or otherwise.
7+
8+
1. .NET Core (https://github.com/dotnet/core/)
9+
10+
.NET Core
11+
Copyright (c) .NET Foundation and Contributors
12+
13+
The MIT License (MIT)
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
21+
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.

Tools/netstandard.library/2.0.3/lib/netstandard1.0/_._

Whitespace-only changes.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==

Tools/netstandard.library/2.0.3/netstandard.library.nuspec

+399
Large diffs are not rendered by default.

src/NHibernate.Test/Async/NHSpecificTest/GH3218/ContainsParameterFixture.cs

+18-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ protected override HbmMapping GetMappings()
2828
{
2929
rc.Id(x => x.Id, m => m.Generator(Generators.GuidComb));
3030
rc.Property(x => x.Name);
31+
rc.Component(
32+
x => x.Component,
33+
ekm =>
34+
{
35+
ekm.Property(ek => ek.Id1);
36+
ekm.Property(ek => ek.Id2);
37+
});
3138
});
3239
mapper.Class<Entity>(rc =>
3340
{
@@ -38,7 +45,7 @@ protected override HbmMapping GetMappings()
3845

3946
return mapper.CompileMappingForAllExplicitlyAddedEntities();
4047
}
41-
48+
4249
[Test]
4350
public async Task ContainsOnIdAsync()
4451
{
@@ -80,5 +87,15 @@ public async Task ContainsOnNameAsync()
8087
await (session.Query<Entity>().Where(x => x.List.Select(l => l.Name).Contains(client)).ToListAsync());
8188
}
8289
}
90+
91+
[Test]
92+
public async Task ContainsOnComponentAsync()
93+
{
94+
using (var session = OpenSession())
95+
{
96+
var client = new CompositeKey() { Id1 = 1, Id2 = 2 };
97+
await (session.Query<Entity>().Where(x => x.List.Select(l => l.Component).Contains(client)).ToListAsync());
98+
}
99+
}
83100
}
84101
}

0 commit comments

Comments
 (0)