Running T4RIA problem

May 11, 2011 at 9:47 AM

Hi !

I've tried follow instructions form :, but receive an error:

Error 1 Running transformation: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'Mapping'
   at CallSite.Target(Closure , CallSite , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at Microsoft.VisualStudio.TextTemplatingB32CD9EDF9B75CFA43D93570F32F93CE.GeneratedTextTransformation.ServiceTemplate.TransformText() in d:\Roboczy\Developer\VisualStudio2010\ISOManager3\ISOManager3.Web\ 66
   at T4Toolbox.Template.Transform()
   at T4Toolbox.Template.Render()
   at T4Toolbox.Template.RenderToFile(String fileName)
   at CallSite.Target(Closure , CallSite , ServiceTemplate , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
   at Microsoft.VisualStudio.TextTemplatingB32CD9EDF9B75CFA43D93570F32F93CE.GeneratedTextTransformation.ServiceGenerator.RunCore() in d:\Roboczy\Developer\VisualStudio2010\ISOManager3\ISOManager3.Web\ 363
   at T4Toolbox.Generator.Run()
   at Microsoft.VisualStudio.TextTemplatingB32CD9EDF9B75CFA43D93570F32F93CE.GeneratedTextTransformation.TransformText() in d:\Roboczy\Developer\VisualStudio2010\ISOManager3\ISOManager3.Web\ 38
   at Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation(TemplateProcessingSession session, String source, ITextTemplatingEngineHost host, String& result)  1 1 

Actually I need WCF RIA Services Contrib for partial save ( adding one entity during ading/editing other) - could someone describe how to use WCF RIA Services Contrib to do it , form configuring Contrib to usage in client side app - some kind "for dumies" instruction, pleeeeaaaseeee !

It is very common scenario in business app, I think - adding some entities durring editing opperation of other entities. In WCF RIA calling SubmitChanges() effects updating whole DataContext, but if there is many changed/added/deleted entities and some of them has validation errors - you are in big trouble, if you want update only correct entities. My only hope is WCF RIA Services Contrib, but I don't know hot to use it - help me !