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