forked from ravendb/ravendb
/
IAsyncAdvancedSessionOperations.cs
34 lines (30 loc) · 1.12 KB
/
IAsyncAdvancedSessionOperations.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
//-----------------------------------------------------------------------
// <copyright file="IAsyncAdvancedSessionOperations.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
#if !NET_3_5
using Raven.Client.Connection.Async;
namespace Raven.Client
{
/// <summary>
/// Advanced async session operations
/// </summary>
public interface IAsyncAdvancedSessionOperations : IAdvancedDocumentSessionOperations
{
/// <summary>
/// Gets the async database commands.
/// </summary>
/// <value>The async database commands.</value>
IAsyncDatabaseCommands AsyncDatabaseCommands { get; }
/// <summary>
/// Query the specified index using Lucene syntax
/// </summary>
IAsyncDocumentQuery<T> AsyncLuceneQuery<T>(string index);
/// <summary>
/// Dynamically query RavenDB using Lucene syntax
/// </summary>
IAsyncDocumentQuery<T> AsyncLuceneQuery<T>();
}
}
#endif