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