Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constructor firing Inheritance in C#
Message
From
19/01/2006 21:27:17
John Baird
Coatesville, Pennsylvania, United States
 
 
To
19/01/2006 20:17:04
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01088705
Message ID:
01088752
Views:
11
Hi:

I'm pretty sure we're doing this at work, but not sure enough to swear on it. Tomorrow morning, I will check and post a sample of the code that we are using. I'd like to get your take on it.




>>>You can add a call to base after setting the tablename field value<
>
>No, John ... you can't do that in the constructor of a class.
>
>I'm sure there's a way to do what Rick wants to do, but I'm not coming up with it off the top of my head. Maybe I need to sleep on it. <s>
>
>~~Bonnie
>
>
>
>
>>>
>>>
>>>public class AuthorBizObj: BizObj
>>>{
>>>   public AuthorBizObj()
>>>   {
>>>      this.TableName="Authors";
>>>   }
>>>}
>>>
>>>
>>
>>You can add a call to base after setting the tablename field value
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform