# AddDependency(JobHandle)

> Adds another job handle to this EntityQuery's dependencies.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public JobHandle AddDependency(JobHandle job)
```

### Parameters

**** (\[JobHandle]\(/engine/7000.0/script-reference/unity/jobs/jobhandle)): Handle for the job to add to the query's dependencies.

### Returns

| Type                                                                 | Description                                               |
| -------------------------------------------------------------------- | --------------------------------------------------------- |
| [JobHandle](/engine/7000.0/script-reference/unity/jobs/jobhandle.md) | The new combined job handle for the query's dependencies. |

### Remarks

An entity query uses jobs internally when required to create arrays of entities and chunks. This junction adds an external job as a dependency for those internal jobs.
