I figured out the flaw in the EDMX