Nullable(of Date) problem with SortedBindingList

Nullable(of Date) problem with SortedBindingList

Old forum URL: forums.lhotka.net/forums/t/3193.aspx


Jimbo posted on Sunday, July 15, 2007

Getting unhandled null exceptions for the Key in the CompareTo method on Nullable date columns in datagrid view bound to SortedBindingList.
Is there a workaround to handle this ?  
Its really Urgent!  Thought it was fine untill now.
Jimbo.

Jimbo replied on Friday, July 27, 2007

I am pleased to read that this issue has been identified as important and is now high on the todo list for csla 3. ( see also discussion thread 14338 etc)
Rocky, whilst you are there, how about including ObjectAdaptor nullable property issues which now seems to no longer  rate a mention in the wish list priority.

jimbo


RockfordLhotka replied on Saturday, July 28, 2007

ObjectAdapter's nullable issue is #13 on the wish list.

It is important to realize that the order of the items in the list doesn't matter. I do the ones I have time/resources/interest in doing.

In the case of ObjectAdapter, it is one of the oldest pieces of code in the framework, and it is outdated. Some of the techniques I used to build it were ok, but I now know much better techniques (and even use some of them elsewhere in the framework). So OA really needs to be rebuilt, nearly from scratch - which is a fair amount of work obviously, and has slipped lower on the priority list as more technology data bind against objects, thus reducing the need to support DataSet concepts at all.

Honestly, LINQ may well entirely eliminate the need for the DataSet, and thus the OA. Toward that end, in 3.5 I might move OA from CSLA itself into CSLAcontrib, allowing anyone who wants to use it to maintain it.

RockfordLhotka replied on Saturday, July 28, 2007

Jimbo:
I am pleased to read that this issue has been identified as important and is now high on the todo list for csla 3.

Actually, CSLA3 is out, so the issue should (I think) be resolved. Are you having the issue in CSLA3?

Jimbo replied on Monday, July 30, 2007

Rocky, 
I should have said I was referring to version 2.1.1  ( bad omission) .
Looking forward to testing with version 3.
 I notice that the project structure in the download does not use folder names like csla30vb etc.  as in the version 2 downloads. Is there a reason for the change ?

jimbo

Copyright (c) Marimer LLC