Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding fields to a DB
Versions des environnements
Network:
Windows 2003 Server
For the first time I have a situation, that is a little different than I've had before in the .NET world. I have a table of sites with a SiteID. This field will be used through the rest of my tables as a way to limit all the activates to happening with that one site. My question is in two parts. How do the rest of you add a new column through all your BOs, do you use the Business Layer Generator and bite the bullet and make changes as needed, or do you just add the new field by hand through the classes?
Next, this is essentially a global property. How do the rest of you handle this sort of thing? I'm not asking for exact details just overall best practices.
Mick
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement