The most simple solution is add reference to dal from the UI project.
I am posting this as an answer, only since there has been no more activity since I posed the initial question. Please use @Khurram Ali's links above if you are looking for an answer to this issue. I will sum it up quickly here by saying that the architecture can...
c#,silverlight,visual-studio-lightswitch,3-tier,lightswitch-2012
If the IIS Server is correctly set up, you should just be able to use a browser to download and install the current version of the desktop application (with correct configuration) from it. The url format for the request is: http[s]://{servername}[:port]/{applicationname}/ If you're not sure of the application name, use...
architecture,3-tier,multi-tier
The Dependency Inversion Principle (DIP, one of the SOLID principles) exactly addresses the situation you describe: A. High-level modules should not depend on low-level modules. Both should depend on abstractions. B. Abstractions should not depend on details. Details should depend on abstractions. For your situation, in particular part A is...
c#,asp.net,linq,data-access-layer,3-tier
You can return db.DBL_TBL which will return IQueriable. For example, public IQueriable<DB_TBL> GetTable() { dataContex db = new dataContex; return db.DB_TBL } You can also return IEnumerable or List as well. See example below which returns List. public List<DB_TBL> GetTable() { dataContex db = new dataContex; return db.DB_TBL.ToList(); } Then...
entity-framework,asp.net-mvc-4,3-tier
Can't be unambiguously correct answers on these issues, so any answer should be evaluated simply as an opinion. Here are my answers: Where should we place the CRUD functions? CRUD is a frequent pattern at different levels. Hi-level Repository provides similar methods, as a low-level Table Gateway. Where and why...