Ejemplo n.º 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)
 {
 }
Ejemplo n.º 2
0
 public QueryVisitor(BsonMapper mapper)
 {
     _mapper = mapper;
     _type   = typeof(T);
 }
Ejemplo n.º 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)
 {
 }