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