Renaming your classes is the easiest solution. You are probably going to run into the same problem in the rest of your code so you are better off getting the naming fixed now.
It is possible to customize the code generation to create namespace exceptions to specify you want your Task and your Monitor. I had the same problem in my system, I do GIS road inventory work and information stored about a road is termed in GIS terminology as an "Event". Since I really didn't feel like fighting C# over calling my entity Event, I changed the name to TdmEvent. I don't remember what Tdm means anymore, but at least I have made my life easier.
This content has not been rated yet.
1539
Reputation
130
Total posts