Class CurrencyGroupLinkRecordDataExtensions
Extension methods to make it easy to fetch CurrencyGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Inheritance
CurrencyGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class CurrencyGroupLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<CurrencyGroupLinkTableInfo>)
Declaration
public static CurrencyGroupLinkRecordData FromRecord(this TargetedDataRecord<CurrencyGroupLinkTableInfo> 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 { CurrencyGroupLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<CurrencyGroupLinkTableInfo>)
From a TargetedSelect<CurrencyGroupLinkTableInfo>, execute it and return an IEnumerable<CurrencyGroupLinkRecordData> with the results
Declaration
public static IEnumerable<CurrencyGroupLinkRecordData> FromSelect(this TargetedSelect<CurrencyGroupLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(CurrencyGroupLinkRecordData)
Extension methods to make it easy to fetch CurrencyGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static Insert ToInsert(this CurrencyGroupLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<CurrencyGroupLinkRecordData>)
Extension methods to make it easy to fetch CurrencyGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CurrencyGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(CurrencyGroupLinkRow)
Extension methods to make it easy to fetch CurrencyGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static CurrencyGroupLinkRecordData ToRecordData(this CurrencyGroupLinkRow row)
Parameters
Returns