I am trying to create a search method that allows for the user to
search on certain fields (with a small twist).  For example; they can
search on FirstName that begins with "J", LastName that contains "on"
and so on.  I am using WebOrb as the glue to my middle-tier.

I am thinking of accomplishing this by dynamically building the query
in C#.  Right now I have the following classes ...

    public class SearchInput
    {
        ////begin input/output values for search (non custom)
        public virtual int ControlNumberID { get; set; }
        public virtual IList<SearchInputHelper> SSN { get; set; }
        public virtual IList<SearchInputHelper> FirstName { get;
set; }
        public virtual IList<SearchInputHelper> MiddleInitial { get;
set; }
        public virtual IList<SearchInputHelper> LastName { get; set; }
        ////end input/output values for search (non custom)
    }

    public class SearchInputHelper
    {
        public virtual string val { get; set; }
        public virtual string valDetails { get; set; }  //b = begins
with, e = ends with, c = contains, l = literal
    }


When I view this in WebOrb I get what I want ...

FirstName with a childnode that I can expand and it has an input for
val and valDetails.

This creates a problem in the mapping because when I do this and I try
to call another method completely separate from this I get an error.

Please let me know if I need to provide further information.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to