Class ErpConnectionActorTypeRecordDataExtensions
Inheritance
ErpConnectionActorTypeRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class ErpConnectionActorTypeRecordDataExtensions
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();
FromSelectAsync(TargetedSelect<ErpConnectionActorTypeTableInfo>, CancellationToken)
From a TargetedSelect<ErpConnectionActorTypeTableInfo>, execute it and return an IEnumerable<ErpConnectionActorTypeRecordData> with the results
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<ErpConnectionActorTypeRecordData> FromSelectAsync(this TargetedSelect<ErpConnectionActorTypeTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsertAsync(ErpConnectionActorTypeRecordData, CancellationToken)
Declaration
public static Task<Insert> ToInsertAsync(this ErpConnectionActorTypeRecordData record, CancellationToken cancellationToken = default)
Parameters
Returns
ToInsertsAsync(IEnumerable<ErpConnectionActorTypeRecordData>, CancellationToken)
Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<ErpConnectionActorTypeRecordData> records, CancellationToken cancellationToken = default)
Parameters
Returns
ToRecordData(ErpConnectionActorTypeRow)
Declaration
public static ErpConnectionActorTypeRecordData ToRecordData(this ErpConnectionActorTypeRow row)
Parameters
Returns