fix edmx , identity problem , vs bug