/// <summary> /// Create a new Attachment object. /// </summary> /// <param name="c__Id">Initial value of the C__Id property.</param> public static Attachment CreateAttachment(global::System.Int32 c__Id) { Attachment attachment = new Attachment(); attachment.C__Id = c__Id; return attachment; }
/// <summary> /// Deprecated Method for adding a new object to the Attachments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAttachments(Attachment attachment) { base.AddObject("Attachments", attachment); }