Pervasive
Sign in | Join | Help
in

.Net: TIME Datatype comes out as TimeSpan? Incorrect?

Last post 05-15-2008 11:36 AM by kmfisher. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-15-2008 11:36 AM

    .Net: TIME Datatype comes out as TimeSpan? Incorrect?

    When creating a typed DataSet, a database field with datatype TIME is translated into C# as a TimeSpan type. This seems wrong to me since SQL Server and Oracle represents times as DateTimes. This leads to a ton of code branching to be able to incorporate Pervasive as a supported database.  Is there a way to change Pervasive to return a DateTime instead of a TimeSpan?

Page 1 of 1 (1 items)
© 2008 Pervasive Software Inc. All Rights Reserved.