EntityFramework gives IDisposable error

Posted by Snoop Dogg on Stack Overflow See other posts from Stack Overflow or by Snoop Dogg
Published on 2010-04-24T09:18:24Z Indexed on 2010/04/24 9:23 UTC
Read the original article Hit count: 243

Filed under:

I use EF for the back-end DataLayer in my asp.net websites. I create a class library and add the Model in it, reference it and use it from the ASP.NET Website. But this time, I generated the model from database but it seems does not implement IDisposable, and the methods I used to see are not there. DeleteObject , SaveChanges etc. There are only Two tables in the DB and the Model was generated with only the TableSets and two methods AddToTableSet ... Had anybody encountered such a problem?

© Stack Overflow or respective owner

Related posts about entity-framework