MongoServices 0.2.0
A Service/Repository Framework for mongoDB
C:/Development/MongoServices/Source/MongoServices/Repositories/Interfaces/IReadOnlyRepository.cs
Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 using MongoDB.Bson;
00006 
00007 namespace MongoServices
00008 {
00013         public interface IReadOnlyRepository<T> : IMongoServicesRepository<T>
00014                 where T : MongoServicesModel
00015         {
00020                 IEnumerable<T> GetAll();
00021 
00027                 T GetById(ObjectId id);
00028         }
00029 }
 All Classes Namespaces Files Functions Enumerations Properties