switched to code first ef entities