Class CurrencyGroupLinkRecordDataExtensions
Extension methods to make it easy to fetch CurrencyGroupLinkRecordData objects from the database,
using the
Inheritance
System.Object
CurrencyGroupLinkRecordDataExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class CurrencyGroupLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<CurrencyGroupLinkTableInfo>)
From a TargetedDataRecord<CurrencyGroupLinkTableInfo>, create and populate a CurrencyGroupLinkRecordData POCO object
Declaration
public static CurrencyGroupLinkRecordData FromRecord(this TargetedDataRecord<CurrencyGroupLinkTableInfo> record)
Parameters
Type | Name | Description |
---|---|---|
TargetedDataRecord<CurrencyGroupLinkTableInfo> | record |
Returns
Type | Description |
---|---|
CurrencyGroupLinkRecordData |
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
Type | Name | Description |
---|---|---|
TargetedSelect<CurrencyGroupLinkTableInfo> | select |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CurrencyGroupLinkRecordData> |
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(CurrencyGroupLinkRecordData)
Declaration
public static Insert ToInsert(this CurrencyGroupLinkRecordData record)
Parameters
Type | Name | Description |
---|---|---|
CurrencyGroupLinkRecordData | record |
Returns
Type | Description |
---|---|
Insert |
ToInserts(IEnumerable<CurrencyGroupLinkRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CurrencyGroupLinkRecordData> records)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<CurrencyGroupLinkRecordData> | records |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Insert> |