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