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