Пример #1
0
        public void QueryTest()
        {
            using (var indexSession = new AsyncIndexSession(DatabaseAddress))
            {
                indexSession.Query("Raven/DocumentsByEntityName", new IndexQuery(), null, (result) =>
                                                                                              {
                                                                                                  Assert.IsTrue(result.IsSuccess);

                                                                                                  EnqueueTestComplete();
                                                                                              });
            }
        }
Пример #2
0
 public AsyncCollectionSession(string databaseUrl)
 {
     IndexSession = new AsyncIndexSession(databaseUrl);
 }