.net

Five Reasons for using an O/R mapping tool

Posted on June 3, 2007. Filed under: .net |

So, why should you use any O/R mapping tool? I am not talking about a specific tool but rather all O/R mapping tools in general. There are a number of reasons for using an O/R mapping tool but before I dive into that, let me give you a brief overview of what an O/R mapping [...]

Read Full Post | Make a Comment ( None so far )

Creating a DataTable from an IList returned from the data mapper

Posted on May 23, 2007. Filed under: .net |

Riccardo d’Errico
Sat, 15 Jul 2006 09:55:47 -0700
It arrived to me to have to convert back to a DataTable the IList result I get from the DataMapper instance.
This is mainly because some asp.net components accepts binding only to dataset or datatable
Here is the code I use if somebody has the [...]

Read Full Post | Make a Comment ( None so far )

Implementing the Singleton Pattern in C#

Posted on May 14, 2007. Filed under: .net, NHibernate |

The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access to that [...]

Read Full Post | Make a Comment ( None so far )

Design-by-Contract: A Practical Introduction

Posted on May 10, 2007. Filed under: .net |

There are two things I loathe during development: spending any time at all with the VS.NET debugger and seeing “object reference not set to an instance of an object” (which is usually why I’m in the debugger to begin with). The technique of Design-by-Contract (DBC) allows you to not only eschew these two [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...