Others may find this useful... Since IBatisNet plays well with strongly typed collections, I wrote a small tool to help me create strongly typed collections:
http://www.ronosaurus.com/IBatisNet/collgen/ Basically I enter the name of my entity objects in the TextBox (one per line, as many as I want): Product Category and it generates a .zip file on-the-fly containing: ProductCollection CategoryCollection The ProductCollection consists of the following items: Interface IProductCollection Interface IProductList Interface IProductEnumerator Class ProductCollection There is also support for collections being in a different namespace than the entity objects. Here is an example output file: http://www.ronosaurus.com/IBatisNet/collgen/StonglyTypedCollections.zip Yes, I am aware of Code Smith and QuickCode. In fact the template collection came from a QuickCode submission. If you need more functionality than what my single one form app does, by all means use Code Smith or QuickCode. What's nice about generating collections this way is that I can have my browser open up the generated .zip file after its done downloading then I simply drag the .cs files into Visual Studio. No need to open another program, select a template, type things into it, generate the files, then close out of everything. Maybe I'll allow the user to specify what type of collection they want: simple: just extend CollectionBase advanced: all the bells and whistles (how it is now) - Ron