Jack:
1)I was wondering if it was possible to add some of the attributes into CSLA light but not have them do anything (maybe a compiler warning?). I had used the [Indexable] and now my code is littered with #if !SILVERLIGHT [Indexable] #endif
Jack:
4) LinqBindingList - I started using this a fair amount to create filtered collections to bind on - I need to change this to ObservableCollection where I'm using it as a dataBinding source. I was passing them around for updates so I'm not sure how best to do that. I'm stuck at the moment as my LINQ queries are returning LinqBindingList and that doesn't cast to ObservableCollection so I need to figure that out... which means - what is the role then of LinqBindingList if I want to share assemblies? The only benefit I see now is the indexing if I do large data processing on the server? How am I going to do filtering now on my bindable collection in Silverlight? Do I do it now at the UI level in the grid?
Jack:#if SILVERLIGHT #end if works fine
#if !SILVERLIGHT #end if works fine
Bottom line - use UPPERCASE (which is annoying if you dislike ALL UPPER).
Project Properties -> Build -> Conditional compilation symbols - change to "Silverlight"?
Although it should be upper case by convention so I don't know if that will even work or if it will affect other things. You could just add "ag" ;-)
Didn’t know that was an option - Thanks
From: Geeky [mailto:cslanet@lhotka.net]
Sent: February-23-09 7:20 AM
To: jaddington@alexandergracie.com
Subject: Re: [CSLA .NET] My Gotchas so far in CSLA Light (Silverlight)
Jack:
#if SILVERLIGHT #end if works fine
#if !SILVERLIGHT #end if works fine
Bottom line - use UPPERCASE (which is annoying if you dislike ALL UPPER).
Project Properties -> Build -> Conditional compilation symbols -
change to "Silverlight"?
Although it should be upper case by convention so I don't know if that will
even work or if it will affect other things. You could just add
"ag" ;-)
Copyright (c) Marimer LLC