示例#1
0
        public BaseService(IBirdsTroubleDatabaseSettings settings)
        {
            var client   = new MongoClient(settings.ConnectionString);
            var database = client.GetDatabase(settings.DatabaseName);

            _rows = database.GetCollection <T>(CollectionName);
        }
示例#2
0
 public LineService(IBirdsTroubleDatabaseSettings settings) : base(settings)
 {
 }