« NETFX Setup & Deployment | Main | Rob Tiffany and .NET Rocks »

October 08, 2008

Comments

Richard Jones

We do something very similar. We use a class that provides access to a single record, and an aggregate class that is responsible for extracting sets of this object.

so we end up with
public class Item
{
}
public class ItemAggregate
{
public Item[] GetAll()
{
}
public int Count()
{
}
}

The magic happens with a tool we have called DataMaker that builds these classes by introspecting the tables in SQL/Oracle/ODbc/SQL Compact connection.

Very fast and very reliable.

The comments to this entry are closed.