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. |
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
Yes, exactly - AFAIK when datetime2 is available, it is used automatically.