Class UserPreferenceRows.IdxPrefsectionPrefkeyDeflevel
Class representing index 'IPrefsectionPrefkeyDeflevelOw'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class UserPreferenceRows.IdxPrefsectionPrefkeyDeflevel : UserPreferenceRows.UserPreferenceRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxPrefsectionPrefkeyDeflevel(string, StringSearchType, string, StringSearchType, PreferenceLevel)
Constructor for class UserPreferenceRows.IdxPrefsectionPrefkeyDeflevel This class represents index 'IPrefsectionPrefkeyDeflevelOwner_id'.
Declaration
public IdxPrefsectionPrefkeyDeflevel(string prefsection, StringSearchType prefsectionSearchType, string prefkey, StringSearchType prefkeySearchType, PreferenceLevel deflevel)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefsection | |
| StringSearchType | prefsectionSearchType | How to search for Prefsection |
| string | prefkey | |
| StringSearchType | prefkeySearchType | How to search for Prefkey |
| PreferenceLevel | deflevel |
IdxPrefsectionPrefkeyDeflevel(string, string, PreferenceLevel)
Constructor for class UserPreferenceRows.IdxPrefsectionPrefkeyDeflevel This class represents index 'IPrefsectionPrefkeyDeflevelOwner_id'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxPrefsectionPrefkeyDeflevel(string prefsection, string prefkey, PreferenceLevel deflevel)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefsection | |
| string | prefkey | |
| PreferenceLevel | deflevel |
Properties
Deflevel
The level: 0=hard default, 1=systemwide, 2=database, 3=group, 4=individual
Declaration
public PreferenceLevel Deflevel { get; set; }
Property Value
| Type | Description |
|---|---|
| PreferenceLevel |
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
| Type | Description |
|---|---|
| Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
Prefkey
Preference key name
Declaration
public string Prefkey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Prefsection
Preference section name
Declaration
public string Prefsection { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
UpdateRow(TableRowBase)
Update the UserPreferenceRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
| Type | Name | Description |
|---|---|---|
| TableRowBase | baseRow | The row to update. This must be an instance of UserPreferenceRow. |