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