/// <summary>
 /// Deprecated Method for adding a new object to the Files EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFiles(FileEntity fileEntity)
 {
     base.AddObject("Files", fileEntity);
 }
 /// <summary>
 /// Create a new FileEntity object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="contentLength">Initial value of the ContentLength property.</param>
 /// <param name="contentType">Initial value of the ContentType property.</param>
 /// <param name="insertDate">Initial value of the InsertDate property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static FileEntity CreateFileEntity(global::System.Int32 id, global::System.String fileName, global::System.String description, global::System.Int32 contentLength, global::System.String contentType, global::System.DateTime insertDate, global::System.Int64 userId)
 {
     FileEntity fileEntity = new FileEntity();
     fileEntity.Id = id;
     fileEntity.FileName = fileName;
     fileEntity.Description = description;
     fileEntity.ContentLength = contentLength;
     fileEntity.ContentType = contentType;
     fileEntity.InsertDate = insertDate;
     fileEntity.UserId = userId;
     return fileEntity;
 }