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