Class RestrictionStorageSentryAttribute
Attribute used on CriteriaProviders to declare that certain operations should be protected by a Sentry
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class RestrictionStorageSentryAttribute : Attribute
Constructors
RestrictionStorageSentryAttribute(string, string, string)
Mark a certain combination of provider and storage key as being protected by a sentry
Declaration
public RestrictionStorageSentryAttribute(string providerName, string storageKey, string targetTable)
Parameters
Type | Name | Description |
---|---|---|
string | providerName | The name of the provider on whose behalf we must protect data |
string | storageKey | The storage key from which to retrieve an ID of the owning (target) table |
string | targetTable | The name of the target table, whose sentry we will consult |
Properties
ProviderName
The name of the provider on whose behalf we must protect data
Declaration
public string ProviderName { get; }
Property Value
Type | Description |
---|---|
string |
StorageKey
The storage key from which to retrieve an ID of the owning (target) table
Declaration
public string StorageKey { get; }
Property Value
Type | Description |
---|---|
string |
TargetTable
The name of the target table, whose sentry we will consult
Declaration
public string TargetTable { get; }
Property Value
Type | Description |
---|---|
string |