forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIMultiCriteria.cs
37 lines (33 loc) · 1.22 KB
/
IMultiCriteria.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
//------------------------------------------------------------------------------
// <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.Criterion;
using NHibernate.Impl;
using NHibernate.Transform;
namespace NHibernate
{
using System.Threading.Tasks;
using System.Threading;
public partial interface IMultiCriteria
{
/// <summary>
/// Get all the results
/// </summary>
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
Task<IList> ListAsync(CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns the result of one of the Criteria 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></returns>
Task<object> GetResultAsync(string key, CancellationToken cancellationToken = default(CancellationToken));
}
}