Example #1
0
 /// <summary>
 /// Starts LiteDB database using a Stream disk
 /// </summary>
 public LiteRepository(Stream stream, BsonMapper mapper = null, string password = null)
     : this(new LiteDatabase(stream, mapper, password), true)
 {
 }
Example #2
0
 public QueryVisitor(BsonMapper mapper)
 {
     _mapper = mapper;
     _type   = typeof(T);
 }
Example #3
0
 /// <summary>
 /// Starts LiteDB database using a connection string for file system database
 /// </summary>
 public LiteRepository(ConnectionString connectionString, BsonMapper mapper = null)
     : this(new LiteDatabase(connectionString, mapper), true)
 {
 }