TableMapper

What is it?
TableMapper maps fields from one table to another automatically, if the field has the same name in both tables. It is great to easily create initFrom methods and to populate temporal tables.

Features
1- Automatic bindings between tables with a few lines.

2- Manual field bindings with the method Bind.

3- Ignore automatic bindings with the method Ignore.

Download
Download

To learn how to use it read the test class and the following example: TableMapper mp = new TableMapper; TestTable1 tb1; TestTable2 tb2; mp.MapTable(tb1, tb2) .Bind("Int2", "SomeInt") .Bind("Name","FullName") .Bind("Url", "Web") .Ignore("Utc") .Map;