Inheritance
System.Object
KbEntryCommentRecordDataExtensions
Assembly: SoDataBase.dll
public static class KbEntryCommentRecordDataExtensions : Object
Methods
Declaration
public static KbEntryCommentRecordData FromRecord(this TargetedDataRecord<KbEntryCommentTableInfo> record)
Parameters
Returns
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 { KbEntryCommentItem = r.FromRecord(), /* fetch other fields here */ });
From a TargetedSelect<KbEntryCommentTableInfo>, execute it and return an IEnumerable<KbEntryCommentRecordData> with the results
Declaration
public static IEnumerable<KbEntryCommentRecordData> FromSelect(this TargetedSelect<KbEntryCommentTableInfo> select)
Parameters
Returns
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
Declaration
public static Insert ToInsert(this KbEntryCommentRecordData record)
Parameters
Returns
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<KbEntryCommentRecordData> records)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Insert> |
|
Declaration
public static KbEntryCommentRecordData ToRecordData(this KbEntryCommentRow row)
Parameters
Returns