Updated Source on October 25, 2011

Oct 25, 2011 at 11:01 PM

If you're not trying to serialize complex database objects through SOAP communication, you won't notice the difference.

Sometimes, to keep the overhead low, we just return simple data tables, that represent a simple data set.

However, what's nice about SOAP is that we can return complex objects that contain the relationships of our database entities.

For example, a category has 10 products.  If we select a product, we can not view the category properties as well.

I added the CollectionDataContract and DataContract/DataMember support for the auto-generated objects.