MongoServices 0.2.0
A Service/Repository Framework for mongoDB
C:/Development/MongoServices/Source/MongoServices/Repositories/Interfaces/IReadWriteRepository.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 IReadWriteRepository<T> : IReadOnlyRepository<T>
00014                 where T : MongoServicesModel
00015         {
00020                 void Save(T model);
00021 
00026                 void DeleteById(ObjectId id);
00027         }
00028 }
 All Classes Namespaces Files Functions Enumerations Properties