What are the most suitable equivalent C# datatypes for the new "date", "time" and "datetimeoffset" datatypes in Sql Server 2008?
views:
1435answers:
3
+3
A:
The new types are supported only if you install .NET Framework 3.5 SP1.
SqlDbType.Date
SqlDbType.Time
SqlDbType.DateTime2
SqlDbType.DateTimeOffSet
For exhaustive information, see Date and Time Data in SQL Server 2008
Cerebrus
2009-03-17 16:46:37
The phrase "most suitable equivalent C# datatypes" makes me think this is what OP might have been looking for.
Dan
2009-03-17 17:09:46