Beispiel #1
0
        public RepositorioBase(IMongoDbDefinicoes settings)
        {
            var database = new MongoClient(settings.ConnectionString).GetDatabase(settings.DatabaseName);

            _collection = database.GetCollection <TDocument>(GetCollectionName(typeof(TDocument)));
        }
 public RepositorioUsuario(IMongoDbDefinicoes mongoDbDefinicoes) : base(mongoDbDefinicoes)
 {
 }