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