Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constructor firing Inheritance in C#
Message
De
19/01/2006 21:27:17
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
19/01/2006 20:17:04
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01088705
Message ID:
01088752
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform