none
Entity Framework Reusing across multiple projects RRS feed

  • Question

  • How can re use Entity Framework across multiple projects ? Someone has created a database projects and all i can see are the database tables in the project . 

    I saw the person created an emdx file in his project to get a reference to the dbcontext . 

    But i cannot get a reference to that i guess until i create a new emdx project. 

    What should be the best approach to share the entity framework across projects?

    Thanks.


    usher A

    Friday, March 23, 2018 4:17 PM

All replies

  • How can re use Entity Framework across multiple projects ? Someone has created a database projects and all i can see are the database tables in the project . 

    Yes you can use a WCF service and multiple projects can consume the WCF service. A Data Access Layer pattern and/or the Repository pattern can be sitting behind the WCF service using  ADO.NET Entity framework for CRUD with a database.

    Saturday, March 24, 2018 6:30 PM