-
Hi Jonny, Thanks again for the answer - very simple and straightforward. I just added the property and the following line, and now in my fetch I can differentiate between equals and like. fetchCriteria.MatchPartialName = true;
-
Hi Curelom - sorry, I should have been a bit more explicit. Here is my code: PeopleCriteria fetchCriteria = new PeopleCriteria(); fetchCriteria.Name = nameToSearchFor; DataPortal<People> dp = new DataPortal<People>(); dp.FetchCompleted += UpdateSearchResults_FetchCompleted; dp.BeginFetch(fetchCriteria); You will notice the second line I
-
Hi all, This seems like a very simple question, but searching for 'like' isn't very helpful and searching wildcards for csla isn't coming up with any usable results. Basically, I would like to get business objects back that partially match a search term. For instance, if a user enters 'matt' I want results to include 'matt'
-
Is this problem due to the fact we haven't gotten around to subclassing the WcfProxy? I just remembered the DataPortal book says you should write your own data portal channel for silverlight.
-
OK, so I may do a separate post on this since this question has changed a bit, but any help would be much appreciated since right now I am stumped. Edore - yes, I have heard of google and site searches and have the books and have spent quite a bit of time on this issue. If you know something I don't feel free to help. I figured out by hooking up
-
Hi Jonny, Thanks again for the reply. I went to add some parameters to the criteria, and if I add a List<String> I get a serialization exception. Same if I try to add an object, string array etc. Any ideas on why that may be? Here is the error: System.Runtime.Serialization.SerializationException: Type 'System.String[]' with data contract
-
Hi Jonny, thanks for the reply. I don't want multiple fetch methods for unit testing. I want a custom alternative fetch, similar to how many api's have overloaded method signatures and/or methods named very similarly, and, while they may have the same return type they are used in different circumstances. Is there no way to implement multiple
-
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Hi all, I am working on a project using CSLA generated by codesmith and due to project considerations we will be re-generating quite often throughout the lifetime of the project. Due to these considerations, I am running into a situation where I want to add my own fetch method
-
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 I have a Silverlight 5 project with a WCF remote data portal (CSLA 4.3 code generated by CodeSmith) and have a property in my business object that looks like this: private static readonly PropertyInfo<System.String> _myStringProperty = RegisterProperty<System.String>
-
Hi Jonny, Thanks so much, if I change the namespace of my .Sl project to match that error goes away.