Пример #1
0
 /// <summary>
 /// Create a new query for <typeparam name="T"/>
 /// </summary>
 IDocumentQuery <T> IDocumentQueryGenerator.Query <T>(string indexName, string collectionName, bool isMapReduce)
 {
     return(Advanced.DocumentQuery <T>(indexName, collectionName, isMapReduce));
 }
Пример #2
0
        /// <summary>
        /// Dynamically query RavenDB using Lucene syntax
        /// </summary>
        public IDocumentQuery <T> DocumentQuery <T>()
        {
            var indexName = CreateDynamicIndexName <T>();

            return(Advanced.DocumentQuery <T>(indexName));
        }