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