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