/// <summary> /// Get DSP Records from DSR_Q01 /// </summary> public static IEnumerable GetDSPRecords(this DSR_Q01 message) { object[] result = message.GetRecords("DSPRepetitionsUsed", "GetDSP"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }
/// <summary> /// Get all DSP Records from DSR_Q01 /// </summary> public static List <DSP> GetAllDSPRecords(this DSR_Q01 message) { return(message.GetAllRecords <DSP>("DSPRepetitionsUsed", "GetDSP")); }