Class ScheduledTaskRecordDataExtensions
Extension methods to make it easy to fetch ScheduledTaskRecordData objects from the database,
using the infrastructure
Inheritance
ScheduledTaskRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class ScheduledTaskRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<ScheduledTaskTableInfo>)
Declaration
public static ScheduledTaskRecordData FromRecord(this TargetedDataRecord<ScheduledTaskTableInfo> 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 { ScheduledTaskItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<ScheduledTaskTableInfo>)
From a TargetedSelect<ScheduledTaskTableInfo>, execute it and return an IEnumerable<ScheduledTaskRecordData> with the results
Declaration
public static IEnumerable<ScheduledTaskRecordData> FromSelect(this TargetedSelect<ScheduledTaskTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(ScheduledTaskRecordData)
Extension methods to make it easy to fetch ScheduledTaskRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this ScheduledTaskRecordData record)
Parameters
Returns
ToInserts(IEnumerable<ScheduledTaskRecordData>)
Extension methods to make it easy to fetch ScheduledTaskRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ScheduledTaskRecordData> records)
Parameters
Returns
ToRecordData(ScheduledTaskRow)
Extension methods to make it easy to fetch ScheduledTaskRecordData objects from the database,
using the infrastructure
Declaration
public static ScheduledTaskRecordData ToRecordData(this ScheduledTaskRow row)
Parameters
Returns