Friday, October 19, 2007

Implementing Data Transfer Objects

When you separate your business layer from data access layer in two different assembly, you come across a situation as which data transfer method will be best for me. In this example, I went through various data transfer object currently available in .NET such as XML, DataSet, DataTable, ArrayList and Custom Data Transfer Object. Each option has its pros and cons, so depending on project one should choose as what best fits the need. In the following code I have tried to use all the four possibilities. Read More