This project is read-only.

I am having a problem with building the solution

Sep 23, 2011 at 10:00 AM

The references to Microsoft.Expression.Interactions and PreEmptive.Attributes are not working.

Does anyone has an idea what's the problem and how it can be solved?

Sep 23, 2011 at 10:03 AM

Ok. I looked at the documetation. i am probably missing Expression Blend 4...

Sep 23, 2011 at 1:49 PM

There still seems to be a problem. The solution doesn't include the file CovariantWrapper.cs in Infrastructure library.

Does anyone have an idea how to resolve this?

Sep 24, 2011 at 12:32 PM
Edited Sep 24, 2011 at 12:36 PM

I will include those assemlbies so that you do not have to install ExpressionBlend4

also download files include those  http://moneymanagernet.codeplex.com/releases/73261/download/284742

 

 

Interactions is ExpressionBlend 4 dll
PreEmptive is Dotfuscators dll

Sep 24, 2011 at 12:51 PM

I included them under  folder named External

Sep 24, 2011 at 1:03 PM

I didnt notice that file missing in repository, I usually commit whole directory

I have added this file

I want to explain a little why I used this class

 

As model I use interfaces

interface IBankAccount{

   ICollection<ITransaction> Deposits{get;}

}




and Entity framework generates a class

class Account:IBankAccount{

   TrackableCollection<Transaction> Deposits{get;}

}

 

 

the problem is that generated property is not assumed to be implementation of interface property because although you ca cast TrackableCollection<Transaction> to ICollection<Transaction> you can not cast TrackableCollection<Transaction> to ICollection<ITransaction>

 

so in the EntityFrameworks generator I have added property that explicitly implements this interface property and uses wrapper collection