DateTime precision with MongoDB and the C# Driver
When dealing with a database you need to be aware of any differences between how a data type is represented in your programming language and how it is stored in the database. These differences may not be noticeable at first but often surface later, when a query is not returning the expected results, or a round-tripped value is no longer exactly equal to the original value stored. The DateTime
data type in .NET has a fairly high precision of 100-nanoseconds per tick and is a candidate for such issues.
autofac (26)
web-services (23)
wscf (15)
links (10)
mvc (6)
tools (6)
c# (5)
blogengine-net (5)
resharper (5)
sql-server (4)
rest (4)
windows (3)
httpclient (3)
windows-live-writer (3)
visual-studio (2)
tfs (2)
silverlight (2)
velocity (2)
service-fabric (1)
net-core (1)
asp-net (1)
dnx (1)
web-api (1)
linq (1)
mongodb (1)
wmi (1)
codedom (1)
nunit (1)
reflector (1)
-net-framework (1)
lightspeed (1)
sqlite (1)
-net-ria-services (1)
feedburner (1)
jquery (1)