Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding fields to a DB
Message
De
04/04/2008 12:05:30
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding fields to a DB
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01308251
Message ID:
01308251
Vues:
54
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
Fil
Voir

Click here to load this message in the networking platform