Remove dependency to EntittFramewoek.Patterns