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