> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSEntityName

> Carrier object for EntityName.

Carrier object for EntityName.

## Constructors

### NSEntityName()

```crmscript theme={null}
NSEntityName
```

Initializes a new instance of the NSEntityName class.

## Methods

## GetTableDescription()

```crmscript theme={null}
String GetTableDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Name to be used in GUI, preferable a resource string.

**Example:**

```crmscript theme={null}
NSEntityName thing;
String tableDescription = thing.GetTableDescription();
```

## GetTableName()

```crmscript theme={null}
String GetTableName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the table in the database.

**Example:**

```crmscript theme={null}
NSEntityName thing;
String tableName = thing.GetTableName();
```

## SetTableDescription(String)

```crmscript theme={null}
Void SetTableDescription(String tableDescription)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSEntityName thing;
String tableDescription;
thing.SetTableDescription(tableDescription);
```

## SetTableName(String)

```crmscript theme={null}
Void SetTableName(String tableName)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSEntityName thing;
String tableName;
thing.SetTableName(tableName);
```


## Related topics

- [NSDataRights](/en/automation/crmscript/reference/CRMScript.NetServer.NSDataRights.md)
- [Save List Entity By Name](/en/api/reference/restful/agent/list_agent/save-list-entity-by-name.md)
- [Delete List Entity By Name](/en/api/reference/restful/agent/list_agent/delete-list-entity-by-name.md)
- [Get List Entity By Name](/en/api/reference/restful/rest/list_/get-list-entity-by-name.md)
