Class DashboardThemeRecordDataExtensions
Inheritance
DashboardThemeRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class DashboardThemeRecordDataExtensions
Methods
Declaration
public static DashboardThemeRecordData FromRecord(this TargetedDataRecord<DashboardThemeTableInfo> record)
Parameters
Returns
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
/* add joins, return fields etc. as you wish */
s.ReturnFields.Add(s.Table.All);
var result = s.Records().Select(r => new { DashboardThemeItem = r.FromRecord(), /* fetch other fields here */ });
From a TargetedSelect<DashboardThemeTableInfo>, execute it and return an IEnumerable<DashboardThemeRecordData> with the results
Declaration
public static IEnumerable<DashboardThemeRecordData> FromSelect(this TargetedSelect<DashboardThemeTableInfo> select)
Parameters
Returns
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(DashboardThemeRecordData)
Declaration
public static Insert ToInsert(this DashboardThemeRecordData record)
Parameters
Returns
ToInserts(IEnumerable<DashboardThemeRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<DashboardThemeRecordData> records)
Parameters
Returns