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