# EntityLoadByPK()

Loads and returns an array of objects for given primary key.

```
EntityLoadByPK( name=string, id=any, unique=boolean );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| name | string | Yes | Name of the entity to be loaded. |  |
| id | any | Yes | The primary key value of the entity that must be loaded |  |

# Examples

*There are currently no examples for this function.*







# Categories

[ORM](../../categories/orm.md)