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);
        }
        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 init() {
   _db = new PgDbCore("biggy_test");
   DropCreateTestTables();
   _propertyStore = _db.CreateRelationalStoreFor<Property>();
 }
示例#4
0
 public override IDataStore <T> CreateRelationalStoreFor <T>()
 {
     return(_db.CreateRelationalStoreFor <T>());
 }
 public void init()
 {
     _db = new PgDbCore("biggy_test");
     DropCreateTestTables();
     _propertyStore = _db.CreateRelationalStoreFor <Property>();
 }