Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generated Stored Procedures Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Generated Stored Procedures Question
Divers
Thread ID:
01243855
Message ID:
01243855
Vues:
66
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform