Skip to content

DefaultSensitiveTableRegistry class

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

The default ISensitiveTableRegistry, with the tables of the rows with SensitiveTableAttribute and the patterns of the SensitiveTablesAttributes of the assemblies of the type source. A pattern without a schema matches a table in the default schema (dbo, public) or in a database without schemas, case insensitively.

public class DefaultSensitiveTableRegistry : ISensitiveTableRegistry

Public Members

name description
DefaultSensitiveTableRegistry(…) Creates the registry of the rows and the assemblies of a type source.
static FromPatterns(…) Creates a registry of some patterns, e.g. for a test.
Patterns { get; }
IsSensitive(…)
static readonly DefaultSchemas The schemas that a pattern without a schema matches, besides none.

Protected Members

name description
DefaultSensitiveTableRegistry(…) Creates a registry of some patterns. It is not public, as the dependency injection would not know which of the constructors to use.

See Also