T4RIA Documentation

T4RIA is a T4 template that generates domain services, metadata and localization for WCF RIA Services from ADO.NET Entity Data Model. It ease the development of rich internet applications using WCF RIA Services by automatically generating all the necessary code.

T4RIA supports WCF RIA Services 1.0, ADO.NET Entity Framework 4.0 and requires T4 Toolbox for its run.

To use it, simply download the official zip file, copy both T4RIA.tt and T4RIA.settings.t4 to the root of your WCF RIA Services web application and add the provided GeneratedMetadataProvider.dll to the references of your web application. You might need to customize the settings in T4RIA.settings.t4 to fit your environment and conventions. Then, by running T4RIA.tt (simply save the file or use Chirpy extension), you will generate all the necessary files.

The code in generated files can then be customized to fit your needs e.g. add additional domain service operations, add additional model metadata, localize your model. The custom code should not be included in source files with .g.cs extension as these are automatically overridden when generating artifacts.

Last edited Apr 10, 2011 at 5:43 AM by hosekp, version 2

Comments

valeriuz May 24, 2013 at 9:56 AM 
How to use GeneratedMetadataProvider and attributes on client side?