Entity Framework example needed

Entity Framework example needed

Old forum URL: forums.lhotka.net/forums/t/6188.aspx


lukky posted on Sunday, January 18, 2009

Hi,

Does anyone have working examples of how to integrate EF with CSLA 3.6 ?

I'm working on developing a set of CodeSmith templates to generate CSLA BOs directly from the Entity Framework Model (the CSDL portion of the EDMX file) instead of from a database. The idea is that the actual CodeSmith templates can't map a BO to more than one table, while the EF designer can. So eventually it will be possible to create BOs that map to more than one table.

Before I can make any real progress, I need to have actual working code samples that encompass the different CSLA object prototypes.

I've done some basic tests, and they seem to work, but I'd like to hear from people who have actually implemented EF in their own BOs. That way I'll be able to create more robusts templates.

Thank you.

Copyright (c) Marimer LLC