Why t4RIA instead of the Regular Ria Services wizard

May 3, 2011 at 6:46 AM
Edited May 3, 2011 at 6:46 AM

T4RIA T4 templates seem very awesome

But I wonder, how are they better to use than the regular Domain Service Ria Services out of the box from Visual Studio 2010..

1-I am sure there are better, but I would like to know how?

2- Could these templates be made into something like IdeaBlade for Silverlight ?

Jun 25, 2011 at 1:19 AM

1- The difference is mainly in way metadata are handled. Standard dialog generates metadata classes with properties only, you have to write domain attributes by yourself. This is easy when you have very few entities (like in the official examples), but can get very cumbersome in case you model contains a lot of entities (which is often in business applications). T4RIA uses domain information contained in entity model to infer and generate domain attributes automatically for you. On top of that, they also generate necessary attributes and resource files for localization.

2- I was already thinking about wrapping T4RIA as ADO.NET Entity Generator which would be very similar to way the DevForce Silverlight works.