예제 #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)
 {
 }
예제 #2
0
 public QueryVisitor(BsonMapper mapper)
 {
     _mapper = mapper;
     _type   = typeof(T);
 }
예제 #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)
 {
 }