Trying to migrate to ef 6.