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