Class DashboardTileFieldRecordDataExtensions
Inheritance
DashboardTileFieldRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class DashboardTileFieldRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<DashboardTileFieldTableInfo>)
Declaration
public static DashboardTileFieldRecordData FromRecord(this TargetedDataRecord<DashboardTileFieldTableInfo> record)
Parameters
Returns
Examples
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 { DashboardTileFieldItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<DashboardTileFieldTableInfo>)
From a TargetedSelect<DashboardTileFieldTableInfo>, execute it and return an IEnumerable<DashboardTileFieldRecordData> with the results
Declaration
public static IEnumerable<DashboardTileFieldRecordData> FromSelect(this TargetedSelect<DashboardTileFieldTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(DashboardTileFieldRecordData)
Declaration
public static Insert ToInsert(this DashboardTileFieldRecordData record)
Parameters
Returns
ToInserts(IEnumerable<DashboardTileFieldRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<DashboardTileFieldRecordData> records)
Parameters
Returns
ToRecordData(DashboardTileFieldRow)
Declaration
public static DashboardTileFieldRecordData ToRecordData(this DashboardTileFieldRow row)
Parameters
Returns