fix: attach, attachOrGet parameters in entitycontext