In ScottGu’s article, he uses OnModelCreating method to define schema mapping. I am wondering if Entity Framework has some existing feature that allows us to do the mapping through attribute. For example, the Dinner class mentioned in that article could be like:
[MapTable="tblDinner"]
public class Dinner{
[MapColumn="colId"]
public int DinnerID {get;set;}
}