예제 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="options"></param>
 public MongoReaderRepositoryAsync(MongoRepositoryOptions options)
     : base(options)
 {
 }
예제 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="options"></param>
 public MongoRepository(MongoRepositoryOptions options)
     : base(options)
 {
 }
예제 #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="options"></param>
 public MongoBaseRepository(MongoRepositoryOptions options)
     : this(options.ConnString, options.DbName, writeConcern : options.WriteConcern, readPreference : options.ReadPreference)
 {
 }