Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HookPostNewRow
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00940506
Message ID:
00941210
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform