Answered by:
EF N-TIER

Question
-
Almost every example/sample that I see uses EF in a one tier type scenario where the Database/UI is mixed. Several of the featires that EF provides stop working (like track changes) when an application for instance uses a WCF layer that is only allowed to access the database.
I am just wondering whether mixing databse/UI code in the same layer is typical of real world applications ? Thanks
hoonMonday, January 10, 2011 7:33 PM
Answers
-
Hi Hoon1234,
Thanks for your question.
I don't think it is true, one tier application is just used to show new features or how to use EF. If you are design a project, 3-tier architecture is good. EF can be DAL, I think POCO is good to handle this.
The similar questions have bee n asked in our forum, you can refer their relay, I'd like to give some links:
Have a nice day.
Alan Chen[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Alan_chen Thursday, January 20, 2011 1:32 AM
Tuesday, January 11, 2011 4:06 AM -
Hi Hoon1234,
you can check following link...
It may solve your problem.
http://diegworld.blogspot.com/2011/01/building-n-tier-applications-with.html
Hasibul Haque, MCTS http://blog.e-rains.com- Proposed as answer by Jonathan Aneja -- MSFT Saturday, January 15, 2011 1:11 AM
- Marked as answer by Alan_chen Thursday, January 20, 2011 1:32 AM
Friday, January 14, 2011 1:22 PM
All replies
-
Hi Hoon1234,
Thanks for your question.
I don't think it is true, one tier application is just used to show new features or how to use EF. If you are design a project, 3-tier architecture is good. EF can be DAL, I think POCO is good to handle this.
The similar questions have bee n asked in our forum, you can refer their relay, I'd like to give some links:
Have a nice day.
Alan Chen[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Alan_chen Thursday, January 20, 2011 1:32 AM
Tuesday, January 11, 2011 4:06 AM -
Hi Hoon1234,
I am writing to check the status of the issue on your side. Would you mind letting us know the result of the suggestions?
If you need further assistance, please feel free to let me know. I will be more than happy to be of assistance.Have a nice day.
Alan Chen[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Friday, January 14, 2011 1:33 AM -
Hi Hoon1234,
you can check following link...
It may solve your problem.
http://diegworld.blogspot.com/2011/01/building-n-tier-applications-with.html
Hasibul Haque, MCTS http://blog.e-rains.com- Proposed as answer by Jonathan Aneja -- MSFT Saturday, January 15, 2011 1:11 AM
- Marked as answer by Alan_chen Thursday, January 20, 2011 1:32 AM
Friday, January 14, 2011 1:22 PM