Tech Tutorials Database
GeekArticles Microsoft ADO.NET
 

Taking Advantage of the Partial Class with the ADO.NET Entity Framework

 
Author: sys-con.com
Category: ADO.NET
Comments (0)

So building your data-driven application and got an ADO.NET Entity Model that represents an abstraction around your database. Maybe even pretty savvy and used inheritance and some filters to enhance the entity model so that it really is an entity model and not just a raw translation of your database schema into objects. One thing that I have noticed is that in a lot of sample code, a lot of utility functions end up being put in inefficient locations because people forget that the entity model is a partial class. This means that you can extend the model with your own properties and methods.<p><a more</a></p>

Read More...




Sponsored Links




Read Next: ADO.NET 2.0 Framework and Designer Enhancements



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe