views:

24

answers:

0

Hi,

I am trying to model a database that is badly designed. The POCO objects I came up using Entity Framework(EF) do not represent the business entities accurately as I am limited by bad DB design . I am planning on having my business entities defined separately and have them map to POCO. So it would be something like: Business Entities ==> POCO Entities ==> EF.

Do you see any disadvantages by doing this?

As such I am very new to EF and from what I have learned so far, it seems EF works best when the DB is perfect. Otherwise we end up with either customizing EDMX by hand or some other workarounds.

Thanks, Manav