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