Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can one class set a property to be seen by another c
Message
 
 
À
27/02/2013 18:02:41
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01566989
Message ID:
01567095
Vues:
18
>Sounds like you're integration testing, not unit testing.
>
>I would not hold a reference to the database object, but create it as needed.
>

We decided to not add the database reference to the application object, but add both objects (application and database) as references.

We're currently using database reference in the Main class (MiddlewareBase), so we would add new object property to hold the applicaiton object.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform