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