---
title: "EntityPropertyExpression"
description: "Learn how to define an entity property expression in Identity Manager, computing a property from a binding, C#, or literal expressions, with an XML example."
sidebar_position: 5
---

An entity property expression is a property computed from a binding and/or [C#](../../expressions/index.md#c-expressions) or [literal](../../expressions/index.md#literal-expression) expressions.


## Examples
The following example computes the record display name.
```xml
<EntityPropertyExpression Identifier="Directory_UserRecord_InternalDisplayName" Expression="C#:person:return person.LastName + &quot; &quot; + person.FirstName;"
    EntityType="Directory_UserRecord" Property="InternalDisplayName" />
```


## Properties

|Property|Details|
|---|---|
| Binding optional | **Type:** Int64 **Description:** References the binding used to compute the result. |
| EntityType required | **Type:** Int64 **Description:** Identifier of the referenced entity type |
| Expression optional | **Type:** String **Description:** References the C# or literal expression used to compute the result. See [C# expressions](../../expressions/index.md#c-expressions). |
| Identifier required | **Type:** String **Description:** Unique identifier of the expression. |
| Priority <span class="optionalAttribute">default value: 0</span> | **Type:** Int32 **Description:** Specifies the execution priority. |
| Property required | **Type:** Int64 **Description:** Identifier of the referenced entity property |
| PropertyCriteria optional | **Type:** Int64 **Description:** References the property criteria used to compute navigation properties. |
