Changed devart to ado.net using npgsql for entity framework provider