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