Views: 11.6K
Replies: 2
Archived
|
Accessing Entity FrameworkHi all, I am doing a project (Win Forms Application) in .NET 4.0.
For Data Access I am using Entity Framework. To query the objects do I need a wrapper class like Business Layer or can I directly use the entities in the UI? Just in general, when do I use the Business Lyer. Anyhow, I am a bit confused as my previous experience is with 3-tier architectures and I am feeling that with Entity Framework this is difficult to achieve. Imran Khan, Jul 14, 2010
|
|
Reply 1Hi Imran,
Perhaps the following articles and projects can help you in how others use EF4 in N-Tier applications. Disclaimer: I am not a user of EF4, so I can not say if they are good examples, but they should get you going.
Robert Blixt, Jul 14, 2010
|
|
Reply 2Hi,
I always try to use the 3-tier principles. Some times that is not neccessary but generally speaking this approach is very usefull if someone other programmer wants to work in your project or to follow the principles of project's scalability. Try to separate the BL of DL by using Interfaces thanks Grigorios Agathangelidis, Jul 14, 2010
|