The EntityContainer name must be unique RRS feed

  • Question

  • ADONET EntityFramework

    why is this? 

    Friday, March 9, 2012 7:50 AM



    If you think of the EntityContainer as a class then trying to create two classes with the same name in thr same namespace would be and error. Entity Framework creates mapping object between the database and the objects in your program it does not know which model to use if they both have the same name.


    Fernando (MCSD)

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    • Proposed as answer by Mr. Javaman II Friday, March 9, 2012 2:07 PM
    • Marked as answer by Allen_MSDN Tuesday, March 13, 2012 2:30 AM
    Friday, March 9, 2012 2:05 PM