[CSHARP-29] Ability to store and query JSON docs without any Document abstraction Created: 19/Mar/10  Updated: 19/Oct/16  Resolved: 11/Nov/10

Status: Closed
Project: C# Driver
Component/s: SAMUS
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kostyantin Voz Assignee: Sam Corder
Resolution: Duplicate Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Why I need to work with another abstraction if I already have JSON serialization for my classes ?

var d = new Document();
collection.Insert(d);
instead of
collection.Insert(JsonConvert.SerializeObject(myObject));



 Comments   
Comment by Steve Wagner [ 11/Nov/10 ]

Migrated to https://github.com/mongodb-csharp/mongodb-csharp/issues/issue/24

Comment by sukchr [ 18/May/10 ]

I was tipped of this issue from this thread: http://groups.google.com/group/mongodb-csharp/browse_thread/thread/ef1308f38bdbde3e

Comment by Steve Wagner [ 20/Mar/10 ]

This is coming. You can have a look at it here:

http://github.com/samus/mongodb-csharp/tree/typedcollections

I dont consider it stable now, but it works.

Generated at Wed Feb 07 21:35:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.