Added entity framework, Db validation