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