forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIMultiQuery.cs
39 lines (35 loc) · 1.28 KB
/
IMultiQuery.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by AsyncGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using NHibernate.Transform;
using NHibernate.Type;
namespace NHibernate
{
using System.Threading.Tasks;
using System.Threading;
public partial interface IMultiQuery
{
/// <summary>
/// Get all the results
/// </summary>
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
/// <remarks>
/// The result is a IList of IList.
/// </remarks>
Task<IList> ListAsync(CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns the result of one of the query based on the key
/// </summary>
/// <param name="key">The key</param>
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
/// <returns>The instance for method chain.</returns>
Task<object> GetResultAsync(string key, CancellationToken cancellationToken = default(CancellationToken));
}
}