Class KbEntryWordsRecordDataExtensions
Extension methods to make it easy to fetch KbEntryWordsRecordData objects from the database,
using the infrastructure
Inheritance
KbEntryWordsRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class KbEntryWordsRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<KbEntryWordsTableInfo>)
Declaration
public static KbEntryWordsRecordData FromRecord(this TargetedDataRecord<KbEntryWordsTableInfo> 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 { KbEntryWordsItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<KbEntryWordsTableInfo>)
From a TargetedSelect<KbEntryWordsTableInfo>, execute it and return an IEnumerable<KbEntryWordsRecordData> with the results
Declaration
public static IEnumerable<KbEntryWordsRecordData> FromSelect(this TargetedSelect<KbEntryWordsTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(KbEntryWordsRecordData)
Extension methods to make it easy to fetch KbEntryWordsRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this KbEntryWordsRecordData record)
Parameters
Returns
ToInserts(IEnumerable<KbEntryWordsRecordData>)
Extension methods to make it easy to fetch KbEntryWordsRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<KbEntryWordsRecordData> records)
Parameters
Returns
ToRecordData(KbEntryWordsRow)
Extension methods to make it easy to fetch KbEntryWordsRecordData objects from the database,
using the infrastructure
Declaration
public static KbEntryWordsRecordData ToRecordData(this KbEntryWordsRow row)
Parameters
Returns