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