Creating POCO Classes on Phasis
I create persistence ignorant classes for 开发者_StackOverflow社区an existing DB which is very big and i don't want to create all classes in the beginning i want to create only classes i need and create each class when i need it. Is there any feature in Entity Framework can do this?
You can build incrementally your EDMX file adding only entities you need to use at the moment. Than you need to define only POCO classes defined in your EDMX file or you can use POCO template which will generate POCO classes for you.
精彩评论