Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constructor firing Inheritance in C#
Message
De
19/01/2006 20:17:04
 
 
À
19/01/2006 18:08:53
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01088705
Message ID:
01088735
Vues:
11
>>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform