/// <summary> /// Deprecated Method for adding a new object to the SendItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSendItems(SendItem sendItem) { base.AddObject("SendItems", sendItem); }
/// <summary> /// Create a new SendItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="toUserId">Initial value of the ToUserId property.</param> /// <param name="fromUserId">Initial value of the FromUserId property.</param> /// <param name="item">Initial value of the Item property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="seen">Initial value of the Seen property.</param> public static SendItem CreateSendItem(global::System.Int32 id, global::System.Int32 toUserId, global::System.Int32 fromUserId, global::System.Int32 item, global::System.DateTime dateTimeStamp, global::System.Boolean seen) { SendItem sendItem = new SendItem(); sendItem.Id = id; sendItem.ToUserId = toUserId; sendItem.FromUserId = fromUserId; sendItem.Item = item; sendItem.DateTimeStamp = dateTimeStamp; sendItem.Seen = seen; return sendItem; }