Skip to content

SensitiveTableAttribute class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Marks the table of a row as one that holds sensitive or internal data, e.g. the users, the sessions or a log, so that the features that browse or query the tables of a database, like the Data Explorer and the SQL datasets, leave it out by default. See ISensitiveTableRegistry, and SensitiveTablesAttribute for tables without a row.

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

Public Members

name description
SensitiveTableAttribute() The default constructor.

See Also