コード例 #1
0
        public void CanRegisterIndex()
        {
            var store = new InMemoryDocumentStore(new MvxWpfSqLiteConnectionFactory()).Initialize();

            store.RegisterIndex(new PersonIndexMap());

            var map = store.GetIndexMapByEntityType(typeof (Person));
            Assert.IsNotNull(map);
        }
コード例 #2
0
 public void CanInitializeDocumentStore()
 {
     var store = new InMemoryDocumentStore(new MvxWpfSqLiteConnectionFactory());
     store.Initialize();
     Assert.IsNotNull(store.Connection);
 }