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

# TableAttribute

> Specifies the table name for an entity class.             If not specified, the class name is used as the table name.

## Definition

**Assembly:** CloudNimble.BlazorEssentials.TursoDb.dll

**Namespace:** CloudNimble.BlazorEssentials.TursoDb

**Inheritance:** System.Attribute

## Syntax

```csharp theme={"dark"}
CloudNimble.BlazorEssentials.TursoDb.TableAttribute
```

## Summary

Specifies the table name for an entity class.
If not specified, the class name is used as the table name.

## Constructors

### &#x20;.ctor

Initializes a new instance of the [TableAttribute](https://easyaf.nimbleapps.cloud/blazoressentials/api-reference/CloudNimble/BlazorEssentials/TursoDb/TableAttribute.md) class.

#### Syntax

```csharp theme={"dark"}
public TableAttribute(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The table name in the database. |

#### Exceptions

| Exception | Description |
| - | - |
| `ArgumentException` | Thrown when name is null or whitespace. |

## Properties

### &#x20;Name

Gets the table name in the database.

#### Syntax

```csharp theme={"dark"}
public string Name { get; }
```

#### Property Value

Type: `string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.