Skip to content
Newer
Older
100644 338 lines (300 sloc) 14.9 KB
08516f9 @samus Making the current branch more backward compatible.
authored
1 using System;
2 using System.Collections.Generic;
3
a054c05 @lanwin Fix namespaces.
lanwin authored
4 namespace MongoDB
08516f9 @samus Making the current branch more backward compatible.
authored
5 {
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
6 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
7 /// A collection is a storage unit for a group of <see cref = "Document" />s. The documents do not all have to
8 /// contain the same schema but for efficiency they should all be similar.
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
9 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
10 /// <remarks>
11 /// Safemode checks the database for any errors that may have occurred during
12 /// the insert such as a duplicate key constraint violation.
13 /// </remarks>
14 public interface IMongoCollection<T>
15 where T : class
08516f9 @samus Making the current branch more backward compatible.
authored
16 {
17 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
18 /// Gets the database.
08516f9 @samus Making the current branch more backward compatible.
authored
19 /// </summary>
20 /// <value>The database.</value>
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
21 IMongoDatabase Database { get; }
08516f9 @samus Making the current branch more backward compatible.
authored
22
23 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
24 /// Name of the collection.
08516f9 @samus Making the current branch more backward compatible.
authored
25 /// </summary>
26 string Name { get; }
27
28 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
29 /// String value of the database name.
08516f9 @samus Making the current branch more backward compatible.
authored
30 /// </summary>
31 string DatabaseName { get; }
32
33 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
34 /// Full name of the collection databasename . collectionname
08516f9 @samus Making the current branch more backward compatible.
authored
35 /// </summary>
36 string FullName { get; }
37
38 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
39 /// Metadata about the collection such as indexes.
08516f9 @samus Making the current branch more backward compatible.
authored
40 /// </summary>
4a0cc9b @lanwin Fix some warnings.
lanwin authored
41 CollectionMetadata MetaData { get; }
08516f9 @samus Making the current branch more backward compatible.
authored
42
43 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
44 /// Finds and returns the first document in a selector query.
08516f9 @samus Making the current branch more backward compatible.
authored
45 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
46 /// <param name="selector">The selector.</param>
08516f9 @samus Making the current branch more backward compatible.
authored
47 /// <returns>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
48 /// A <see cref="Document"/> from the collection.
08516f9 @samus Making the current branch more backward compatible.
authored
49 /// </returns>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
50 T FindOne(object selector);
08516f9 @samus Making the current branch more backward compatible.
authored
51
52 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
53 /// Returns a cursor that contains all of the documents in the collection.
08516f9 @samus Making the current branch more backward compatible.
authored
54 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
55 /// <remarks>
56 /// Cursors load documents from the database in batches instead of all at once.
57 /// </remarks>
08516f9 @samus Making the current branch more backward compatible.
authored
58 ICursor<T> FindAll();
59
60 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
61 /// Uses the $where operator to query the collection. The value of the where is Javascript that will
62 /// produce a true for the documents that match the criteria.
08516f9 @samus Making the current branch more backward compatible.
authored
63 /// </summary>
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
64 /// <param name = "where">Javascript</param>
e600cd5 @lanwin Remove document overloads for MongoCollection`1.
lanwin authored
65 ICursor<T> Find(string where);
08516f9 @samus Making the current branch more backward compatible.
authored
66
67 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
68 /// Queries the collection using the query selector.
08516f9 @samus Making the current branch more backward compatible.
authored
69 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
70 /// <param name="selector">The selector.</param>
71 /// <returns>A <see cref="ICursor"/></returns>
72 ICursor<T> Find(object selector);
73
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
74 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
75 /// Queries the collection using the specification and only returns a subset of fields.
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
76 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
77 /// <param name="selector">The selector.</param>
78 /// <param name="fields">The fields.</param>
79 /// <returns>A <see cref="ICursor"/></returns>
80 ICursor<T> Find(object selector, object fields);
08516f9 @samus Making the current branch more backward compatible.
authored
81
82 /// <summary>
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
83 /// Deprecated. Use the fluent interface on the cursor to specify a limit and skip value.
08516f9 @samus Making the current branch more backward compatible.
authored
84 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
85 /// <param name="selector">The selector.</param>
86 /// <param name="limit">The limit.</param>
87 /// <param name="skip">The skip.</param>
88 /// <returns></returns>
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
89 [Obsolete("Use the fluent interface on ICursor for specifying limit and skip Find.Skip(x).Limit(y)")]
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
90 ICursor<T> Find(object selector, int limit, int skip);
08516f9 @samus Making the current branch more backward compatible.
authored
91
92 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
93 /// Queries the collection using the specification and only returns a subset of fields
08516f9 @samus Making the current branch more backward compatible.
authored
94 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
95 /// <param name="selector">The selector.</param>
96 /// <param name="limit">The limit.</param>
97 /// <param name="skip">The skip.</param>
98 /// <param name="fields">The fields.</param>
99 /// <returns></returns>
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
100 [Obsolete("Use the fluent interface on ICursor for specifying limit and skip Find.Skip(x).Limit(y)")]
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
101 ICursor<T> Find(object selector, int limit, int skip, object fields);
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
102
4d69e28 Merge branch 'master' into typedcollections
Samuel Corder authored
103 /// <summary>
104 /// Executes a query and atomically applies a modifier operation to the first document returning the original document
105 /// by default.
106 /// </summary>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
107 /// <param name="document">The document.</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
108 /// <param name="selector">The selector.</param>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
109 /// <returns>A <see cref="Document"/></returns>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
110 T FindAndModify(object document, object selector);
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
111
4d69e28 Merge branch 'master' into typedcollections
Samuel Corder authored
112 /// <summary>
113 /// Executes a query and atomically applies a modifier operation to the first document returning the original document
114 /// by default.
115 /// </summary>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
116 /// <param name="document">The document.</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
117 /// <param name="selector">The selector.</param>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
118 /// <param name="sort"><see cref="Document"/> containing the names of columns to sort on with the values being the</param>
119 /// <returns>A <see cref="Document"/></returns>
4d69e28 Merge branch 'master' into typedcollections
Samuel Corder authored
120 /// <see cref="IndexOrder"/>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
121 T FindAndModify(object document, object selector, object sort);
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
122
4d69e28 Merge branch 'master' into typedcollections
Samuel Corder authored
123 /// <summary>
124 /// Executes a query and atomically applies a modifier operation to the first document returning the original document
125 /// by default.
126 /// </summary>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
127 /// <param name="document">The document.</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
128 /// <param name="selector">The selector.</param>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
129 /// <param name="returnNew">if set to <c>true</c> [return new].</param>
130 /// <returns>A <see cref="Document"/></returns>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
131 T FindAndModify(object document, object selector, bool returnNew);
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
132
4d69e28 Merge branch 'master' into typedcollections
Samuel Corder authored
133 /// <summary>
134 /// Executes a query and atomically applies a modifier operation to the first document returning the original document
135 /// by default.
136 /// </summary>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
137 /// <param name="document">The document.</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
138 /// <param name="selector">The selector.</param>
25bfc6c @lanwin Fix merge errors. Lot of test currently failing.
lanwin authored
139 /// <param name="sort"><see cref="Document"/> containing the names of columns to sort on with the values being the
140 /// <see cref="IndexOrder"/></param>
141 /// <param name="returnNew">if set to <c>true</c> [return new].</param>
142 /// <returns>A <see cref="Document"/></returns>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
143 T FindAndModify(object document, object selector, object sort, bool returnNew);
144
08516f9 @samus Making the current branch more backward compatible.
authored
145 /// <summary>
146 /// Entrypoint into executing a map/reduce query against the collection.
147 /// </summary>
148 /// <returns></returns>
149 MapReduce MapReduce();
150
151 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
152 /// Provides a fluent interface into building a map reduce command against the database.
08516f9 @samus Making the current branch more backward compatible.
authored
153 /// </summary>
154 /// <returns></returns>
155 MapReduceBuilder MapReduceBuilder();
156
157 ///<summary>
158 /// Count all items in the collection.
159 ///</summary>
160 long Count();
161
162 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
163 /// Count all items in a collection that match the query selector.
08516f9 @samus Making the current branch more backward compatible.
authored
164 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
165 /// <param name = "selector">The selector.</param>
166 /// <returns></returns>
08516f9 @samus Making the current branch more backward compatible.
authored
167 /// <remarks>
168 /// It will return 0 if the collection doesn't exist yet.
169 /// </remarks>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
170 long Count(object selector);
08516f9 @samus Making the current branch more backward compatible.
authored
171
172 /// <summary>
173 /// Inserts the Document into the collection.
174 /// </summary>
175 void Insert(object document, bool safemode);
176
177 /// <summary>
178 /// Inserts the specified doc.
179 /// </summary>
180 /// <param name = "document">The doc.</param>
181 void Insert(object document);
182
183 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
184 /// Bulk inserts the specified documents into the database.
08516f9 @samus Making the current branch more backward compatible.
authored
185 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
186 /// <remarks>
187 /// See the safemode description in the class description
188 /// </remarks>
08516f9 @samus Making the current branch more backward compatible.
authored
189 void Insert<TElement>(IEnumerable<TElement> documents, bool safemode);
190
191 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
192 /// Bulk inserts the specified documents into the database.
08516f9 @samus Making the current branch more backward compatible.
authored
193 /// </summary>
194 /// <param name = "documents">The documents.</param>
195 void Insert<TElement>(IEnumerable<TElement> documents);
196
197 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
198 /// Deletes documents from the collection according to the selector.
08516f9 @samus Making the current branch more backward compatible.
authored
199 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
200 /// <param name = "selector">The selector.</param>
201 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
08516f9 @samus Making the current branch more backward compatible.
authored
202 /// <remarks>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
203 /// An empty document will match all documents in the collection and effectively truncate it.
204 /// See the safemode description in the class description
08516f9 @samus Making the current branch more backward compatible.
authored
205 /// </remarks>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
206 [Obsolete("Use Remove instead")]
08516f9 @samus Making the current branch more backward compatible.
authored
207 void Delete(object selector, bool safemode);
208
209 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
210 /// Remove documents from the collection according to the selector.
08516f9 @samus Making the current branch more backward compatible.
authored
211 /// </summary>
212 /// <param name = "selector">The selector.</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
213 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
08516f9 @samus Making the current branch more backward compatible.
authored
214 /// <remarks>
215 /// An empty document will match all documents in the collection and effectively truncate it.
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
216 /// See the safemode description in the class description
08516f9 @samus Making the current branch more backward compatible.
authored
217 /// </remarks>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
218 void Remove(object selector, bool safemode);
219
220 /// <summary>
221 /// Deletes documents from the collection according to the selector.
222 /// </summary>
223 /// <param name = "selector">The selector.</param>
224 /// <remarks>
225 /// An empty document will match all documents in the collection and effectively truncate it.
226 /// </remarks>
227 [Obsolete("Use Remove instead")]
08516f9 @samus Making the current branch more backward compatible.
authored
228 void Delete(object selector);
229
230 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
231 /// Remove documents from the collection according to the selector.
08516f9 @samus Making the current branch more backward compatible.
authored
232 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
233 /// <param name="selector">The selector.</param>
234 /// <remarks>
235 /// An empty document will match all documents in the collection and effectively truncate it.
236 /// </remarks>
237 void Remove(object selector);
238
239 /// <summary>
240 /// Inserts or updates a document in the database. If the document does not contain an _id one will be
241 /// generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
242 /// </summary>
243 /// <param name = "document">The document.</param>
244 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
245 /// <remarks>
246 /// See the safemode description in the class description
247 /// </remarks>
a292e29 @lanwin Use Save for Update(doc).
lanwin authored
248 [Obsolete("Use Save instead")]
08516f9 @samus Making the current branch more backward compatible.
authored
249 void Update(object document, bool safemode);
250
251 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
252 /// Inserts or updates a document in the database. If the document does not contain an _id one will be
253 /// generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
08516f9 @samus Making the current branch more backward compatible.
authored
254 /// </summary>
255 /// <param name = "document">The document.</param>
a292e29 @lanwin Use Save for Update(doc).
lanwin authored
256 [Obsolete("Use Save instead")]
08516f9 @samus Making the current branch more backward compatible.
authored
257 void Update(object document);
258
259 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
260 /// Updates the specified document with the current document. In order to only do a partial update use a
261 /// document containing modifier operations ($set, $unset, $inc, etc.)
08516f9 @samus Making the current branch more backward compatible.
authored
262 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
263 /// <param name = "document">The document.</param>
264 /// <param name = "selector">The selector.</param>
265 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
266 /// <remarks>
267 /// See the safemode description in the class description
268 /// </remarks>
08516f9 @samus Making the current branch more backward compatible.
authored
269 void Update(object document, object selector, bool safemode);
270
271 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
272 /// Updates the specified document with the current document. In order to only do a partial update use a
273 /// document containing modifier operations ($set, $unset, $inc, etc.)
08516f9 @samus Making the current branch more backward compatible.
authored
274 /// </summary>
275 /// <param name = "document">The document.</param>
276 /// <param name = "selector">The selector.</param>
277 void Update(object document, object selector);
278
279 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
280 /// Updates the specified document with the current document. In order to only do a partial update use a
281 /// document containing modifier operations ($set, $unset, $inc, etc.)
08516f9 @samus Making the current branch more backward compatible.
authored
282 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
283 /// <param name = "document">The document.</param>
284 /// <param name = "selector">The selector.</param>
285 /// <param name = "flags">The flags.</param>
286 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
287 /// <remarks>
288 /// See the safemode description in the class description
289 /// </remarks>
08516f9 @samus Making the current branch more backward compatible.
authored
290 void Update(object document, object selector, UpdateFlags flags, bool safemode);
291
292 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
293 /// Updates the specified document with the current document. In order to only do a partial update use a
294 /// document containing modifier operations ($set, $unset, $inc, etc.)
08516f9 @samus Making the current branch more backward compatible.
authored
295 /// </summary>
296 /// <param name = "document">The <see cref = "Document" /> to update with</param>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
297 /// <param name = "selector">The query selector to find the document to update.</param>
08516f9 @samus Making the current branch more backward compatible.
authored
298 /// <param name = "flags"><see cref = "UpdateFlags" /></param>
299 void Update(object document, object selector, UpdateFlags flags);
300
301 /// <summary>
302 /// Runs a multiple update query against the database. It will wrap any
e425b33 @samus Moved the generic cursor and mongocollection classes to a Generic nam…
authored
303 /// doc with $set if the passed in doc doesn't contain any '$' modifier ops.
08516f9 @samus Making the current branch more backward compatible.
authored
304 /// </summary>
305 /// <param name = "document">The document.</param>
306 /// <param name = "selector">The selector.</param>
307 void UpdateAll(object document, object selector);
308
309 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
310 /// Runs a multiple update query against the database. It will wrap any
311 /// doc with $set if the passed in doc doesn't contain any '$' modifier ops.
08516f9 @samus Making the current branch more backward compatible.
authored
312 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
313 /// <param name = "document">The document.</param>
314 /// <param name = "selector">The selector.</param>
315 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
316 /// <remarks>
317 /// See the safemode description in the class description
318 /// </remarks>
08516f9 @samus Making the current branch more backward compatible.
authored
319 void UpdateAll(object document, object selector, bool safemode);
320
321 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
322 /// Inserts or updates a document in the database. If the document does not contain an _id one will be
323 /// generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
08516f9 @samus Making the current branch more backward compatible.
authored
324 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
325 /// <param name = "document">The document.</param>
08516f9 @samus Making the current branch more backward compatible.
authored
326 /// <remarks>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
327 /// The document will contain the _id that is saved to the database.
08516f9 @samus Making the current branch more backward compatible.
authored
328 /// </remarks>
329 void Save(object document);
6a97123 @lanwin Add impl. of Save(doc,safemode) and copy impl. of Update(doc) to it, …
lanwin authored
330
331 /// <summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
332 /// Saves a document to the database using an upsert.
6a97123 @lanwin Add impl. of Save(doc,safemode) and copy impl. of Update(doc) to it, …
lanwin authored
333 /// </summary>
fd139f9 @lanwin Add collection.Remove and mare collection.Delete as obsolete because …
lanwin authored
334 /// <param name = "document">The document.</param>
335 /// <param name = "safemode">if set to <c>true</c> [safemode].</param>
336 void Save(object document, bool safemode);
08516f9 @samus Making the current branch more backward compatible.
authored
337 }
338 }
Something went wrong with that request. Please try again.