コード例 #1
0
        public BaseService(ICatalogoDataBaseSettings settings)
        {
            var client   = new MongoClient(settings.ConnectionString);
            var database = client.GetDatabase(settings.DatabaseName);

            this.Model = database.GetCollection <TModel>(typeof(TModel).Name);
        }
コード例 #2
0
 public FilmeService(ICatalogoDataBaseSettings settings) : base(settings)
 {
 }
コード例 #3
0
 public GeneroService(ICatalogoDataBaseSettings settings) : base(settings)
 {
 }