Is there anyway to instruct DO to use DateTime2 as the underlying SQL Server data type instead of DateTime?

I need the extra precision of DateTime2.

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Mar 31 '10 at 23:43

ara's gravatar image


As i know DO4 already maps C# DateTime field to DateTime2 in SQL Server, see my older post here - viewtopic.php?f=56&t=5691

(Mar 31 '10 at 23:43) Peter Ĺ ulek Peter%20%C5%A0ulek's gravatar image

Yes, exactly - AFAIK when datetime2 is available, it is used automatically.

(Mar 31 '10 at 23:43) Alex Yakunin Alex%20Yakunin's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA