public DBreezeNoSqlRepository(string name, string folder)
        {
            Guard.NotEmpty(name, nameof(name));
            Guard.NotEmpty(folder, nameof(folder));

            this._Name    = name;
            this._Session = new DBreezeSingleThreadSession(name, folder);
            this._Session.Do(() =>
            {
                this._Session.Transaction.ValuesLazyLoadingIsOn = false;
            });
        }
Ejemplo n.º 2
0
        public ChainRepository(string folder)
        {
            Guard.NotEmpty(folder, nameof(folder));

            this._Session = new DBreezeSingleThreadSession("DBreeze ChainRepository", folder);
        }