TableNameAttribute Class
Specifies the name of the database table associated with a class.
Namespace
DbSyncKit.DB.Attributes
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["TableNameAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class)]
public class TableNameAttribute : Attribute

Remarks

This attribute can be applied to classes to indicate the name of the corresponding database table. It is used to associate a class with a specific table in database operations.

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
TableNameAttribute(string) Initializes a new instance of the TableNameAttribute class.

Properties

Name Property Type Summary
TableName string
Gets the name of the database table.