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