Shawn,
You need to add the 'GetCrewByCrewId' method into the business object yourself. The following shows what I have added for my Trader business object in my business project.
public TraderEntity GetTraderbyTraderID(int traderID)
{
return this.GetEntity("TraderSelectByPK", this.CreateParameter("@traderID", traderID));
}
This uses a stored procedure that was generated by the BO Generator or you can create your own if necessary. If you are not using stored procedures, you will need to look up how to do this using dynamic SQL.
Bob
>I am working through the MM.Net Developers Guide in Creating Web Forms Applications->Integrating Business Objects with a Web Form->Step 2: Retrieving Data using Business Objects.
>
>I have a Crew Business Object in my project.
>
>When typing the line: DataSet dsCrew = this.oCrew.GetCrewByCrewID(CrewID);
>There does not appear to be any member function starting with GetCrew...
>
>Am I missing something?