# EntityNew()

Creates a new instance of the persistent CFC with the entity name that you provide.

```
EntityNew( entityName=string, properties=struct );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| entityName | string | Yes | Name of the instance being created. |  |
| properties | struct | No | a struct containing data to populate the entity properties. |  |

# Examples

```cfml
obj = EntityNew("test",{col1:'test3',col2:'test4'});
  result = EntityLoadByExample(obj,true);
```







# Categories

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