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