CSLA .NET

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

Search

  • Re: How to match part of a string?

    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;
    Posted to CSLA .NET discussion (Forum) by mtrtm on Wed, Oct 24 2012
  • Re: How to match part of a string?

    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
    Posted to CSLA .NET discussion (Forum) by mtrtm on Mon, Oct 22 2012
  • How to match part of a string?

    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'
    Posted to CSLA .NET discussion (Forum) by mtrtm on Mon, Oct 22 2012
  • Re: multiple fetches possible?

    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.
    Posted to CSLA .NET discussion (Forum) by mtrtm on Wed, Sep 19 2012
  • Re: multiple fetches possible?

    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
    Posted to CSLA .NET discussion (Forum) by mtrtm on Wed, Sep 19 2012
  • Re: multiple fetches possible?

    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
    Posted to CSLA .NET discussion (Forum) by mtrtm on Wed, Sep 19 2012
  • Re: multiple fetches possible?

    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
    Posted to CSLA .NET discussion (Forum) by mtrtm on Tue, Sep 18 2012
  • multiple fetches possible?

    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
    Posted to CSLA .NET discussion (Forum) by mtrtm on Tue, Sep 18 2012
  • CSLA, Silverlight , PrivateFields and deserialization problem

    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>
    Posted to CSLA .NET discussion (Forum) by mtrtm on Fri, May 18 2012
  • Re: Silverlight and CSLA - exception due to server referencing client namespace during fetch!?

    Hi Jonny, Thanks so much, if I change the namespace of my .Sl project to match that error goes away.
    Posted to CSLA .NET discussion (Forum) by mtrtm on Wed, May 16 2012
Page 1 of 2 (13 items) 1 2 Next > | More Search Options

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