NoRM
NoRM copied to clipboard
NoRM is a MongoDB driver for .Net designed to provide access to strongly/statically-typed documents and collections.
Added a TimeSpanTypeConverter that converts to a long and back for Mongo.
Changed max bson document size to 8mb (the new internal limit of mongo db)
This will fix any issues that occur if people have the Visual Studio Async CTP installed. http://msdn.microsoft.com/en-us/vstudio/async.aspx
added support for not nullable int and long to be id property generated by HiLo when that property equals zero and added fluent mapping methods which allow specify in configurationmappings...
One change is to allow to ignore properties through the fluent api. The other one fixes the issue if you have an ICollection/IList property with a setter, NoRM tried to...
Hi, just two minor changes: - [Serializable] attribute added for ObjectId class (makes it possible to e.g. store objects in memcache) - In Linux+MonoDevelop environment file paths are by default...
n is the number of documents updated, not number of Errors see http://www.mongodb.org/display/DOCS/getLastError+Command
Steps to reproduce: class Reference{ public TKey ID{get;set;} public string Type { get {return typeof(TType).Name;} set{ } } } class User{ int ID{get;set;} string Name{get;set;} Reference Language{ get; set; }...
As per: https://github.com/atheken/NoRM/issues#issue/64 Basically added an if to account for concrete-typed (MemberInitExpressions) expressions. Profiling mongo now shows a lower _reslen_ when compared to non projected queries.
Object must implement IConvertible exception Edit See here for example of this exception: http://stackoverflow.com/questions/4782022/polymorphism-problem-in-mongodb-with-norm-driver The use of Convert.ChangeType on MongoQueryProvider line 79 was causing a run-time exception when retrieving a...