Table of Contents

Class TableNameAttribute

Namespace
DataStax.AstraDB.DataApi.Tables
Assembly
DataStax.AstraDB.DataApi.dll

Overrides the table name used when mapping a class to a database table.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class TableNameAttribute : Attribute, _Attribute
Inheritance
TableNameAttribute
Implements
Inherited Members

Constructors

TableNameAttribute(string)

Initializes a new instance of TableNameAttribute with the specified table name.

public TableNameAttribute(string name)

Parameters

name string

The table name to use in the database.

Properties

Name

The table name to use in the database.

public string Name { get; set; }

Property Value

string