Example #1
0
        public BiggyDocumentStore(DbCache dbCache)
        {
            this.DbCache = dbCache;
            this.Model   = this.getModel();

            //this.Model = new BiggyRelationalStore<dynamic>(context);
            this.TableMapping      = this.getTableMappingForT();
            this.PrimaryKeyMapping = this.TableMapping.PrimaryKeyMapping[0];
            SetFullTextColumns();
            TryLoadData();
        }
Example #2
0
        public BiggyRelationalStore(DbCache dbCache)
        {
            this.Cache        = dbCache;
            this.tableMapping = this.getTableMappingForT();

            // Is there a PK? If so, set the member variable:
            if (this.tableMapping.PrimaryKeyMapping.Count == 1)
            {
                this.PrimaryKeyMapping = this.tableMapping.PrimaryKeyMapping[0];
            }
        }
Example #3
0
 public BiggyRelationalStore(DbCache dbCache)
 {
     this.Cache        = dbCache;
     this.TableMapping = this.getTableMappingForT();
 }