/// <summary>
 /// Deprecated Method for adding a new object to the FileAttachments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFileAttachments(FileAttachment fileAttachment)
 {
     base.AddObject("FileAttachments", fileAttachment);
 }
 /// <summary>
 /// Create a new FileAttachment object.
 /// </summary>
 /// <param name="rowGuid">Initial value of the RowGuid property.</param>
 /// <param name="siteGuid">Initial value of the SiteGuid property.</param>
 /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param>
 /// <param name="itemGuid">Initial value of the ItemGuid property.</param>
 /// <param name="specialGuid1">Initial value of the SpecialGuid1 property.</param>
 /// <param name="specialGuid2">Initial value of the SpecialGuid2 property.</param>
 /// <param name="serverFileName">Initial value of the ServerFileName property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="createdUtc">Initial value of the CreatedUtc property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 public static FileAttachment CreateFileAttachment(global::System.Guid rowGuid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid itemGuid, global::System.Guid specialGuid1, global::System.Guid specialGuid2, global::System.String serverFileName, global::System.String fileName, global::System.DateTime createdUtc, global::System.Guid createdBy)
 {
     FileAttachment fileAttachment = new FileAttachment();
     fileAttachment.RowGuid = rowGuid;
     fileAttachment.SiteGuid = siteGuid;
     fileAttachment.ModuleGuid = moduleGuid;
     fileAttachment.ItemGuid = itemGuid;
     fileAttachment.SpecialGuid1 = specialGuid1;
     fileAttachment.SpecialGuid2 = specialGuid2;
     fileAttachment.ServerFileName = serverFileName;
     fileAttachment.FileName = fileName;
     fileAttachment.CreatedUtc = createdUtc;
     fileAttachment.CreatedBy = createdBy;
     return fileAttachment;
 }