mend
Revert "mend"

This reverts commit 65089f4ea50db8bc8377c27262556c31dac0c1b6.
Fixed reference issue with entity framework