MongoServices 0.2.0
A Service/Repository Framework for mongoDB
C:/Development/MongoServices/Source/MongoServices/Services/Interfaces/IReadWriteService.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 IReadWriteService<T> : IReadOnlyService<T>
00014                 where T : MongoServicesModel
00015         {
00021                 SaveResult Save(T model);
00022 
00028                 IDictionary<MongoServicesModel, SaveResult> Save(IEnumerable<T> models);
00029 
00034                 void DeleteById(ObjectId id);
00035         }
00036 }
 All Classes Namespaces Files Functions Enumerations Properties