---
title: "init(entity:)"
framework: coredata
role: symbol
role_heading: Initializer
path: "coredata/nsbatchupdaterequest/init(entity:)"
---

# init(entity:)

Creates a batch-update request for a managed entity.

## Declaration

```swift
init(entity: NSEntityDescription)
```

## Parameters

- `entity`: The managed entity to update data for.

## See Also

### Creating a Request

- [init(entityName:)](coredata/nsbatchupdaterequest/init(entityname:).md)
