newbie: getting started with Cinch

Jul 14, 2010 at 10:09 PM
Edited Jul 14, 2010 at 10:25 PM

We tried to model our application using the Cinch demo app. Instead of Customer/Orders we have Business/Contacts. We are using Entity Framework instead of Linq. When we try to add a new business, and execute "CurrentBusiness = new BusinessModel(); in the AddEditBusinessViewModel, a TargetInvocationException is thrown by Mediator.NotifyColleagues(), action.DynamicInvoke(message). Can anyone give me some help on how to go about debugging this? We are using VS2008, Cinch V1...unloved though it is.

Jul 19, 2010 at 1:46 PM

I dont think I could help that much unless I was to repeat your setup, which I do not have time for right now. What I can say is that you should be using the Linq to entity as the Model, and more than likely just expose properties for those of the ViewModel. But as to why you are getting an Excepetion you may have to debug it.