Class TableNameAttribute
Deprecated (use TableAttribute) Used to specify the table a POCO maps to. Deprecated.
Inherited Members
Namespace: Cassandra.Mapping
Assembly: Cassandra.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class TableNameAttribute : Attribute
Constructors
TableNameAttribute(string)
Specifies the table a POCO maps to.
Declaration
public TableNameAttribute(string tableName)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | The name of the table to map this POCO to. |
Properties
Value
The table name.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |