Definition
Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb Inheritance: System.AttributeSyntax
Summary
Specifies the table name for an entity class. If not specified, the class name is used as the table name.Constructors
.ctor
Initializes a new instance of the TableAttribute class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The table name in the database. |
Exceptions
| Exception | Description |
|---|---|
ArgumentException | Thrown when name is null or whitespace. |
Properties
Name
Gets the table name in the database.Syntax
Property Value
Type:string