getEntityByKey and fetchEntityByKey accepts EntityType parameter as well as EntityType name. See F#2252