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
11/02/2011 19:01:03
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01497991
Message ID:
01499838
Views:
27
>>
>>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
>
>
>Interesting - I didn't know that Tim, thanks.
>
>I was going to remind Frank to recompile his business objects after running the code generator again. I forget to do that all the time and then wonder why my app doesn't reflect the changes.
>
>Eric

Everyday we all learn something. Isn't it grand?

If your dependencies are setup as your application rely on your business object then the business object library would get automatically re-compiled when you rebuild the application. I typically don't re-run the business layer generator after the first time unless I am adding all new business objects. If I add a column to a table, I just go add it then add the property to the entity, and add the parameter row in the DataAccess class. The one I usually forget is to add the parameters and field to the stored procedures also. But then I do not use the partial classes for my code because I really hate keeping track of the business object code in two places. Since I don't re-run the BLG it doesn't cause me any problems.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform