EntityConverter with db