Codelines

Debugging the art of software

Entries Tagged ‘.NET’

Benefits of The ADO .Net Managed Provider Factory Model

The .NET managed provider factory model makes it easy to switch between database providers without having to change or re-compile any code. How does it achieve this vendor independent behaviour? Through a software pattern or model known as the database provider model.
Database Providers
Typically, when writing applications that make use of ADO.NET you make use of [...]

Leave a Comment

Debugging Linq Queries And Object Initializer Gotchas

LINQ is a great time saving technology that distances the programmer from having to write complex SQL queries when working with databases. It offers a generic means for querying heterogenous IEnumerable data sources. It provides simple object relational mapping.
Object Initializers provide a short hand way of initializing an object in a single statement, rather than [...]

Leave a Comment

Here’s What You Need To Know About .NET Extension Methods

Extension methods are, as the name suggests, a convenient way to extend a class or object’s behaviour by means of external extension. That is, without modifying the class or object directly itself. Extension methods are convenient because they can be used directly on the object or classes they are intended to extend and the extension [...]

Leave a Comment