# GetStorageInfoFromEntity()

> Obsolete. Use ComponentSystemBase.GetEntityStorageInfoLookup instead.

## Definition

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

> **Warning:**
>
> **Deprecated.** This method has been renamed to GetEntityStorageInfoLookup. (RemovedAfter Entities 1.0)
>
> **Upgrade to** [ComponentSystemBase.GetEntityStorageInfoLookup](/engine/7000.0/script-reference/unity/entities/componentsystembase/getentitystorageinfolookup.md)

```csharp
public EntityStorageInfoLookup GetStorageInfoFromEntity()
```

### Returns

| Type                                                                                                 | Description                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [EntityStorageInfoLookup](/engine/7000.0/script-reference/unity/entities/entitystorageinfolookup.md) | An dictionary-like object that provides access to information about how Entities are stored, indexed by [Entity](/engine/7000.0/script-reference/unity/entities/entity.md). |

### Remarks

**Obsolete.** Use [ComponentSystemBase.GetEntityStorageInfoLookup](/engine/7000.0/script-reference/unity/entities/componentsystembase/getentitystorageinfolookup.md) instead.

Gets a StorageInfoFromEntity object that can access a [EntityStorageInfo](/engine/7000.0/script-reference/unity/entities/entitystorageinfo.md). Assign the returned object to a field of your Job struct so that you can access the contents in a Job.

Additional Resources: [StorageInfoFromEntity](/engine/7000.0/script-reference/unity/entities/storageinfofromentity.md)
