Skip to content

CommentAttribute Class ​

Definition ​

Supplies a SQL comment / description for a mapped table (class) or column (property) when TableInfo is generated from a POCO.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Constructors ​

NameDescription
CommentAttribute(string comment)Initializes a new instance of the CommentAttribute class.

Properties ​

NameDescription
CommentGets the SQL comment / description associated with the decorated type or property.

Remarks ​

When applied to a class, the value is stored on Comment. When applied to a property, the value is stored on the column's comment metadata.

Precedence: CommentAttribute wins over Comment at the class level, and over Comment at the property level.