G
guy
VS2005
I have a solution containing (amongst others) a Business layer project and a
DataAccess layer project.
Within these two projects I have a Class DoStuff , the business layer
doStuff makes calls to the DataAccess layer DoStuff. some of these calls
involve passing an enum as a parameter.
This enum is meaningless outside these two classes. The only way I can see
to make it visible to these two classes but not any other classes is to
define it in each class and make it Private, casting it where needed. This
however is not very clean.
Anyone have another suggestion?
Guy
I have a solution containing (amongst others) a Business layer project and a
DataAccess layer project.
Within these two projects I have a Class DoStuff , the business layer
doStuff makes calls to the DataAccess layer DoStuff. some of these calls
involve passing an enum as a parameter.
This enum is meaningless outside these two classes. The only way I can see
to make it visible to these two classes but not any other classes is to
define it in each class and make it Private, casting it where needed. This
however is not very clean.
Anyone have another suggestion?
Guy