Purpose of Entity Framework

F

Fresno Bob

We are looking at the EF. However there is a little disagreement on how to
use it.

I think it should be used as a data access layer to help simplify the
building of a business logic layer.

My collegue want to use it in conjunction with data services as a
"substitute" for the business logic layer.

This seems a bad architectural decision but I don't know enough about EF.

Any Comments. Regards, Chris.
 
W

William Stacey [C# MVP]

Seems to be same issue. In both cases you are using EF and putting BL ontop
of it. I am using BL in my DataService class also. Couple reasons. 1 - it
is close to the data. 2 - you have access to the session data Context and
the Http context. Naturally, you have to do what makes sense, and your
requirements and Arch will decide.
--wjs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top