Click or drag to resize

ConnectorDataItemClassGetList Method

Gives raw data list and is basis for all data processing (example for method GetAll)

Namespace:  SOWIData.Database
Assembly:  SOWIData (in SOWIData.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected abstract List<DataItemClass> GetList()

Return Value

Type: ListDataItemClass

[Missing <returns> documentation for "M:SOWIData.Database.Connector`1.GetList"]

Remarks
Usually is filter set Status ≠ Delete and Client ID
Examples
Filter by Status ≠ Delete e.g. list of Session data records
/// <summary>
/// Gives raw data list and is basis for all data processing
/// </summary>
/// <returns>a data list with filter by Status ≠ Delete</returns>
protected override List<SOWIData.Management.Session> GetList()
{
    try
    {
        var lDB = (SOWIData.Management.Database.Tables)this.DB;
        string lStatus = SOWIData.Statuses.Delete.ToString();
        var lList = (from p in lDB.Session
                     where(p.StatusText != lStatus)
                     select p).ToList();
        return lList;
    }
    catch (Exception ex)
    {
        SIC.Protocol.Write(ref ex);
        throw ex;
    }
}
See Also