Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestion
Message
 
To
20/02/2004 11:10:17
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00879262
Message ID:
00879686
Views:
13
Larry,

>Please consider adding either...
>
>1) some kind of validation, perhaps in an Assign method
>
>or
>
>2)defining constants for the allowable values

Actually, this is the perfect place for an enumration...I debated long and hard about whether to make it a string or an enumeration, but decided on a string because it allows developers to create their own data access classes (other than the ones we already provide), whereas an enumeration would limit them to the classes already predefined in MM .NET. So...It would also be best not to put validation code in that checks for one of these three values since, again, it would prevent developers from creating their own data access classes for MM .NET.

That said, I CAN add comments to the Dev Guide where there is code demonstrating the population of the DataAccessClass property.

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
Reply
Map
View

Click here to load this message in the networking platform