Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Any suggestions as to the place to define your enums in a seperated 3 tier solution in vb.net ?

I want to make a solution with the 3 tiers as seperate projects:
data logic
business logic
presentation logic

within this solution i will need enumerations that are used through all 3 projects but I don't want
to reference the data logic from the presentation project or the presentation logic from the business logic.

How do you guys solve this ?

Arwin van der Laan
Posted

1 solution

Have a dll that includes these enums.
Make all classes (that need these enums) in the three layers reference this dll.

This could be one way.
 
Share this answer
 
Comments
Ryan Zahra 27-Jan-11 4:28am    
Thats they way to go ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900