Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM Questions - UserPK - object???
Message
De
13/07/2004 16:49:57
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00923959
Message ID:
00923975
Vues:
15
Because that way the MM property doesn't have to know if your PK is a string, long, int, whatever.

~~Bonnie

>In the mmUserManager
>it defines a property as an object.
>
>private object _userPK;
>/// <summary>
>/// User Primary Key property
>/// </summary>
>public object UserPK
>{
>	get { return _userPK; }
>	set { _userPK = value; }
>}
>
>
>Why an Object?
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