CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

SafeDataReader and GetDateTimeOffset overload

rated by 0 users
Answered (Verified) This post has 1 verified answer | 1 Reply | 1 Follower

Top 50 Contributor
187 Posts
Jaans posted on Tue, Jul 3 2012 10:52 PM

Hi Rocky

All the more I'm running into scenarios where DateTimeOffset is being used to store dates in SQL Server (in favour of UTC).

What are your thoughts on adding this overload to the SafeDataReader?

I believe this overload is currently specific to the SqlClient data reader, so perhaps we can have the GetDateTimeOffset() overload throw a NotSupportedException if the SafeDataReader was constructed with another type of data reader?

Maybe it's just me, but I would certainly find it useful!

Thanks,
Jaans

Answered (Verified) Verified Answer

Top 10 Contributor
1,815 Posts
Verified by Jaans

Already registered in the bugtracker:

http://www.lhotka.net/cslabugs/edit_bug.aspx?id=937

Jonny Bekkum, Norway CslaContrib Coordinator

Page 1 of 1 (2 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems