This is more of a question of coding standards.
I'm fairly new to LINQ and have done my first project. But maybe I'm doing this wrong?
I have 3 projects
1) Web (References the BR project)
2) Business Rules (BR)
3) Data (Basically ONLY the LINQ DBML)
My BR Project is where I do all the methods AddUser, EditUser, etc...
Is this the proper practice?
The problem I'm running into is my BR Adduser takes the param from LINQ Proj. So BR.AddUser(LINQ.User). When I call this from the Web project it doesn't have the intellisense unless I reference the LINQ proj too.
Should the BR and LINQ projects be combined?
Or would I make an object in the BR to handle the LINQ entity so that it works with the Web intellisense?
public class BRUser
public string Username;
public string Password;
public string Name;
And convert BR.Adduser(LINQ.User) to BR.AddUser(BRUser u)
Please advise. Thanks for your help.