changing ef model api from parsing edmx to use ef model metadata