Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Microsoft ADO.NET

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

Author: dotnet.sys-con.com | Published: 27th Mar 2008 | Visited: 83 times | Add Comment
Filed in: ADO NET

So you're building your data-driven application and you've got an ADO.NET Entity Model that represents an abstraction around your database. Maybe you're even pretty savvy and you've 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.

Read Article
 

Sponsored Links

 


Related Articles

 Swing Extreme Testing - The ShowerThread Class The ShowerThread Class Since SaveAsDialog.show() blocks, we cannot call this from our main thread; instead we spawn a new thread. This thread could just be an anonymous inner class in the init()metho ...

 Taking Advantage of Standard Internet Protocols Taking Advantage of Standard Internet Protocols As mentioned, Oracle XML DB provides native support for standard internet protocols, such as WebDAV, and Continuing with the preceding sample, you might, for example, upload another employee XML document into the XML repository with one of the above ...

 How to Best Use Business Intelligence to Your Advantage How to Best Use Business Intelligence to Your Advantage It is no big secret that today’s businesses rely heavily on data and the information it delivers about their companies. Whether it is for the purpose of customer acquisition, improving operational performance, or understanding competitors, all ...

 2D Vector Class Wrapper SSE Optimized for Math Operations The article demonstrates a 2D vector wrapper, optimized with SSE intrinsics, for math operations with floating point precis ...

 Taking a Fireworks comp to a CSS-based layout in Dreamweaver ? Part 1: Initial design Create your web design in Fireworks before moving it to Dreamwea ...

 Introduction to the WPF Command Framework The command framework in WPF provides a set of powerful tools that let developers build more intelligent user interfa ...

 How to Best Use Business Intelligence to Your Advantage How to Best Use Business Intelligence to Your Advantage It is no big secret that today’s businesses rely heavily on data and the information it delivers about their companies. Whether it is for the purpose of customer acquisition, improving operational performance, or understanding competitors,... ...

 Validation Across Class Hierarchies and Interface Implementations Dependency injection of validation rules and their application across class Hierarchies and interface Implementat ...

 CWindow (wrapper class for the window API functions) + IuSpy CWindow (wrapper class for the window API functions) + IuSpy(Spy++ ana ...

 SQL Agent: A Job Scheduler Framework An easy-to-use .NET solution for Job Scheduling with pluggable actions that runs on a Windows Service. Back up your SQL Server Express and much m ...



Next: Advanced Data Retrieval with ADO.NET



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links