Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does MM.NET get the parameters to pass to Update SP?
Message
From
31/01/2011 15:55:48
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
31/01/2011 12:27:20
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01497991
Message ID:
01498042
Views:
49
>Hi,
>
>using MM.NET 3.6 I am getting this error when I try to save an edit to an existing record:
>
>System.Data.SqlClient.SqlException was unhandled by user code
> Message="Procedure or function 'PolicyHeadersUpdate' expects parameter '@ClaimChequeFK', which was not supplied."
>
>The ClaimChequeFK was a new field I added into the PolicyHeaders table. I re-ran the Business Layer Generator after adding that field in. What have I forgotten to do? Where or how does MM.NET work out what parameters to send to the Update stored procedure?
>
>Please ignore this. I did something else for an hour and then re-ran it and it works fine!

Just so you know where to look Frank.
Expand in your business object folder for the DataAccess object and expand the plus sign next to it also. There is a file DataAccess.Designer.Cs file there. In that file if you expand the region for Component Designer Generated code. The stored procedures and the parameters can be adjusted there when needed.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform