# QueryEnumerableWithEntity(T1, T2, T3, T4, T5, T6, T7, Entity)

> Construct a new object.

## Definition

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

## QueryEnumerableWithEntity(T, T, T, T, T, T, T, Entity)

```csharp
public QueryEnumerableWithEntity(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, Entity entity)
```

### Parameters

**** (T): The value for `T1`.**** (T): The value for `T2`.**** (T): The value for `T3`.**** (T): The value for `T4`.**** (T): The value for `T5`.**** (T): The value for `T6`.**** (T): The value for `T7`.**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity

### Remarks

Objects of this type are typically created and destroyed automatically by the source generators.

Additional Resources: [QueryEnumerableWithEntity\<T1, T2, T3, T4, T5, T6, T7>.Deconstruct](/engine/7000.0/script-reference/unity/entities/queryenumerablewithentity7/deconstruct.md)
