Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generated Stored Procedures Question
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Generated Stored Procedures Question
Miscellaneous
Thread ID:
01243855
Message ID:
01243855
Views:
65
Greetings Kevin,

When you generate stored procedures in the BizObj generator does it create any methods to access those sprocs in the BizObj or DataAccess class or is that something one has to customize?

I was adding default sproc names to my ABusinessObject but wondered if the work has already been done.

In constructor fo ABusinessObject:

this.SelectDefault = "dbo." + this.TableName + "Select";
this.SelectPkDefault = "dbo." + this.TableName + "SelectByPK";
this.UpdateDefault = "dbo." + this.TableName + "Update";
this.InsertDefault = "dbo." + this.TableName + "Insert";
this.DeleteDefault = "dbo." + this.TableName + "Delete";

To be called in a BixObj like this:

this.GetEntityList(this.SelectByPkDefault,this.CreateParameter("@Id", Id));

Regards,

E.R.
Regards,

E.R. Gilmore
Next
Reply
Map
View

Click here to load this message in the networking platform