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