/// <summary>
 /// Deprecated Method for adding a new object to the InviteEmailAttachments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInviteEmailAttachments(InviteEmailAttachment inviteEmailAttachment)
 {
     base.AddObject("InviteEmailAttachments", inviteEmailAttachment);
 }
 /// <summary>
 /// Create a new InviteEmailAttachment object.
 /// </summary>
 /// <param name="inviteEmailAttachmentID">Initial value of the InviteEmailAttachmentID property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="fileContent">Initial value of the FileContent property.</param>
 /// <param name="eventID">Initial value of the EventID property.</param>
 public static InviteEmailAttachment CreateInviteEmailAttachment(global::System.Int32 inviteEmailAttachmentID, global::System.String fileName, global::System.Byte[] fileContent, global::System.Int32 eventID)
 {
     InviteEmailAttachment inviteEmailAttachment = new InviteEmailAttachment();
     inviteEmailAttachment.InviteEmailAttachmentID = inviteEmailAttachmentID;
     inviteEmailAttachment.FileName = fileName;
     inviteEmailAttachment.FileContent = fileContent;
     inviteEmailAttachment.EventID = eventID;
     return inviteEmailAttachment;
 }