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