Exemple #1
0
        public void BiggyList_Initializes_From_Empty_Table()
        {
            var propertyStore = _db.CreateRelationalStoreFor <Property>();
            var propertyList  = new BiggyList <Property>(_propertyStore);

            Assert.True(propertyList.Store != null && propertyList.Count == 0);
        }
        public void BiggyList_Initializes_From_Empty_Table()
        {
            var PropertyDocumentStore = _db.CreateRelationalStoreFor <PropertyDocument>();
            var PropertyDocumentList  = new BiggyList <PropertyDocument>(_PropertyDocumentStore);

            Assert.True(PropertyDocumentList.Store != null && PropertyDocumentList.Count == 0);
        }
Exemple #3
0
 public override IDataStore <T> CreateRelationalStoreFor <T>()
 {
     return(_db.CreateRelationalStoreFor <T>());
 }
Exemple #4
0
 public void init()
 {
     _db = new SqliteDbCore("BiggyTest");
     DropCreateTestTables();
     _propertyStore = _db.CreateRelationalStoreFor <Property>();
 }
 public void init() {
   _db = new SqliteDbCore("BiggyTest");
   DropCreateTestTables();
   _propertyStore = _db.CreateRelationalStoreFor<Property>();
 }