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