Class TreeExplorerEntryRecordDataExtensions
Inheritance
TreeExplorerEntryRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class TreeExplorerEntryRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<TreeExplorerEntryTableInfo>)
Declaration
public static TreeExplorerEntryRecordData FromRecord(this TargetedDataRecord<TreeExplorerEntryTableInfo> 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 { TreeExplorerEntryItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<TreeExplorerEntryTableInfo>)
From a TargetedSelect<TreeExplorerEntryTableInfo>, execute it and return an IEnumerable<TreeExplorerEntryRecordData> with the results
Declaration
public static IEnumerable<TreeExplorerEntryRecordData> FromSelect(this TargetedSelect<TreeExplorerEntryTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(TreeExplorerEntryRecordData)
Declaration
public static Insert ToInsert(this TreeExplorerEntryRecordData record)
Parameters
Returns
ToInserts(IEnumerable<TreeExplorerEntryRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<TreeExplorerEntryRecordData> records)
Parameters
Returns
ToRecordData(TreeExplorerEntryRow)
Declaration
public static TreeExplorerEntryRecordData ToRecordData(this TreeExplorerEntryRow row)
Parameters
Returns