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