Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Objects in 3.5
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01320660
Message ID:
01320670
Views:
11
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform