Example #1
0
        public LiteDbConfigurationRepository(string path)
        {
            if (string.IsNullOrWhiteSpace(path))
            {
                throw new ArgumentNullException(nameof(path));
            }

            db        = new LiteDatabase(path);
            this.path = path;

            this.collectionDiscoveryLogic = new CollectionDiscoveryLogic();
        }
Example #2
0
 public LiteDbAuditRepository(string path)
 {
     db = new LiteDatabase(path);
     this.collectionDiscoveryLogic = new CollectionDiscoveryLogic();
 }