T
tshad
I have an irritant more than a problem but was curious why this is happening
and if there is an easier to fix the problem.
I have 2 projects in my solutions: a BusinessLayer class and a DataLayer
class.
My SQL tables will have a file in both with the BusinessLayer inheriting
from the DataLayer class.
They will look something like:
My DataClass file definition (which happens to be in VB) would look like:
Public MustInherit Class GetGroupDetailXrefDC
My BusinessLayer Class would look like:
********************************
using UPS.DataLayer;
namespace UPS.BusinessLayer
{
[Serializable()]
public class GetGroupDetailXref : GetGroupDetailXrefDC
*************************************
Both of the projects build fine.
But I can tell that the BusinessLayer can't seem to see the DataLayer when I
look at the class statement. The GetGroupDetailXref would be highlighted
in blue and the GetGroupDetailXrefDC is in black (should also be blue).
Everything builds fine, as I mentioned.
But if my intellisense doesn't see the properties in the
GetGroupDetailXrefDC class no will it allow me to access them. If I try I
get an error.
If I Clean the solution and rebuild, this still doesn't help.
I have to exit VS and then restart VS to get them to work. That's all.
Anyone know why this doesn't work when I create the files initially?
Thanks,
Tom
and if there is an easier to fix the problem.
I have 2 projects in my solutions: a BusinessLayer class and a DataLayer
class.
My SQL tables will have a file in both with the BusinessLayer inheriting
from the DataLayer class.
They will look something like:
My DataClass file definition (which happens to be in VB) would look like:
Public MustInherit Class GetGroupDetailXrefDC
My BusinessLayer Class would look like:
********************************
using UPS.DataLayer;
namespace UPS.BusinessLayer
{
[Serializable()]
public class GetGroupDetailXref : GetGroupDetailXrefDC
*************************************
Both of the projects build fine.
But I can tell that the BusinessLayer can't seem to see the DataLayer when I
look at the class statement. The GetGroupDetailXref would be highlighted
in blue and the GetGroupDetailXrefDC is in black (should also be blue).
Everything builds fine, as I mentioned.
But if my intellisense doesn't see the properties in the
GetGroupDetailXrefDC class no will it allow me to access them. If I try I
get an error.
If I Clean the solution and rebuild, this still doesn't help.
I have to exit VS and then restart VS to get them to work. That's all.
Anyone know why this doesn't work when I create the files initially?
Thanks,
Tom