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