Creating base class for Entities in Entity Framework

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2010-05-04T00:26:03Z Indexed on 2010/05/04 0:28 UTC
Read the original article Hit count: 307

I would like to create a base class that is somewhat generic for all of my entities. The class would have methods like Save(), Delete(), GetByID() and some other basic functionality and properties. I have more experience with Linq to SQL and was hoping to get some good examples for something similar in the EF. Thank you.

© Stack Overflow or respective owner

Related posts about entity

Related posts about framework