/// <summary> /// Deprecated Method for adding a new object to the ShortCodeData EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShortCodeData(ShortCodeData shortCodeData) { base.AddObject("ShortCodeData", shortCodeData); }
/// <summary> /// Create a new ShortCodeData object. /// </summary> /// <param name="changeid">Initial value of the changeid property.</param> /// <param name="shortcode">Initial value of the shortcode property.</param> /// <param name="keyword">Initial value of the keyword property.</param> /// <param name="phonenumber">Initial value of the phonenumber property.</param> /// <param name="message">Initial value of the message property.</param> /// <param name="received">Initial value of the received property.</param> /// <param name="batchId">Initial value of the BatchId property.</param> public static ShortCodeData CreateShortCodeData(global::System.Int32 changeid, global::System.String shortcode, global::System.String keyword, global::System.String phonenumber, global::System.String message, global::System.String received, global::System.Int32 batchId) { ShortCodeData shortCodeData = new ShortCodeData(); shortCodeData.changeid = changeid; shortCodeData.shortcode = shortcode; shortCodeData.keyword = keyword; shortCodeData.phonenumber = phonenumber; shortCodeData.message = message; shortCodeData.received = received; shortCodeData.BatchId = batchId; return shortCodeData; }