/// <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)); }
/// <summary> /// Dynamically query RavenDB using Lucene syntax /// </summary> public IDocumentQuery <T> DocumentQuery <T>() { var indexName = CreateDynamicIndexName <T>(); return(Advanced.DocumentQuery <T>(indexName)); }