Purpose of Entity Framework

  • Thread starter Thread starter Fresno Bob
  • Start date Start date
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.
 
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
 
Back
Top