Class ScreenDefinitionElementRecordDataExtensions
Inheritance
ScreenDefinitionElementRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class ScreenDefinitionElementRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<ScreenDefinitionElementTableInfo>)
Declaration
public static ScreenDefinitionElementRecordData FromRecord(this TargetedDataRecord<ScreenDefinitionElementTableInfo> 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 { ScreenDefinitionElementItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<ScreenDefinitionElementTableInfo>)
From a TargetedSelect<ScreenDefinitionElementTableInfo>, execute it and return an IEnumerable<ScreenDefinitionElementRecordData> with the results
Declaration
public static IEnumerable<ScreenDefinitionElementRecordData> FromSelect(this TargetedSelect<ScreenDefinitionElementTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(ScreenDefinitionElementRecordData)
Declaration
public static Insert ToInsert(this ScreenDefinitionElementRecordData record)
Parameters
Returns
ToInserts(IEnumerable<ScreenDefinitionElementRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ScreenDefinitionElementRecordData> records)
Parameters
Returns
ToRecordData(ScreenDefinitionElementRow)
Declaration
public static ScreenDefinitionElementRecordData ToRecordData(this ScreenDefinitionElementRow row)
Parameters
Returns