Class ListItemBase<TListSelect>
ListItemBase is the base-class of all listitems.
Inheritance
ListItemBase<TListSelect>
Assembly: SoDataBase.dll
Syntax
public abstract class ListItemBase<TListSelect> where TListSelect : SqlCommand
Type Parameters
Name |
Description |
TListSelect |
|
Constructors
ListItemBase()
Declaration
Properties
FieldProperties
Get individual rights for the fields of the item.
Declaration
public virtual FieldPropertyDictionary FieldProperties { get; protected set; }
Property Value
TableRight
Get the rights for the item.
Declaration
public virtual TableRight TableRight { get; protected set; }
Property Value
Methods
AddFieldProperty(string, FieldProperty)
ListItemBase is the base-class of all listitems.
Declaration
protected void AddFieldProperty(string fieldName, FieldProperty fieldProperty)
Parameters
AssignFromReader(SoDataReader, FieldInfo, ref int, string)
ListItemBase is the base-class of all listitems.
Declaration
protected bool AssignFromReader(SoDataReader reader, FieldInfo field, ref int value, string fieldName)
Parameters
Returns
AssignFromReader(SoDataReader, FieldInfo, ref string, string)
ListItemBase is the base-class of all listitems.
Declaration
protected bool AssignFromReader(SoDataReader reader, FieldInfo field, ref string value, string fieldName)
Parameters
Returns
AssignFromReader<T>(SoDataReader, FieldInfo, ref T, string)
ListItemBase is the base-class of all listitems.
Declaration
protected bool AssignFromReader<T>(SoDataReader reader, FieldInfo field, ref T value, string fieldName)
Parameters
Returns
Type Parameters
HandleFieldRights(string, SentryCollection, FieldInfo, Type, EFieldRight, bool)
ListItemBase is the base-class of all listitems.
Declaration
protected bool HandleFieldRights(string fieldName, SentryCollection sentries, FieldInfo field, Type fieldType, EFieldRight requestedRight, bool populateCarrier)
Parameters
Returns
Initialize()
Initializes all class-members.
Declaration
protected abstract void Initialize()
Load(TListSelect, SoDataReader)
Responsible for reading the current row in the data reader and insert the value in the right part ob the object.
Declaration
protected abstract void Load(TListSelect query, SoDataReader reader)
Parameters
Type |
Name |
Description |
TListSelect |
query |
|
SoDataReader |
reader |
The reader contains the items data.
|
Extension Methods