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