Select Commands

Mar 28, 2010 at 5:23 AM


I created a new select command on my Orders table, saved then generated.  This did not create any new code in my Select Commands objects.  Am I doing somthing wrong ?



Mar 30, 2010 at 1:14 AM

I just did this with no issue so please confirm what you did. I created a select command off customer and named it "Cheezy". I then created a parameter on it and added an SQL statement. I generated the DAL and installed. I then added some code to my sample application. When I access CustomerCollection I see a new static method that will return data.

CustomerCollection customerCollection =CustomerCollection.SelectByCheezy(1, "");

Is this what you did?