Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can one class set a property to be seen by another c
Message
 
 
To
27/02/2013 18:02:41
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01566989
Message ID:
01567095
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform