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