stock rex DAL layer with entity framework