Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HookPostNewRow
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00940506
Message ID:
00941210
Vues:
20
Ric,

>Any words of wisdom on whether to call base.HookPostNewRow before or after my code? Just a business-logic decision for me?
>
>
>protected override void HookPostNewRow(mmBusinessObject bizObj, string tableName)
>{
>	base.HookPostNewRow (bizObj, tableName);
>	this.BindingContext[this.oStore.GetCurrentDataSet(), "Store"].Position =
>		this.oStore.GetCurrentDataSet().Tables["Store"].Rows.Count -1;
>}
>
You don't need to call basea.HookPostNewRow() at all...VS .NET automatically puts that call in the override for you, but there is no code at the Framework level to be exectued for hook methods.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform