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