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