/// <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(File file)
 {
     base.AddObject("Files", file);
 }
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="presentationId">Initial value of the PresentationId property.</param>
 public static File CreateFile(global::System.Int32 id, global::System.String name, global::System.String description, global::System.String type, global::System.Int32 presentationId)
 {
     File file = new File();
     file.Id = id;
     file.Name = name;
     file.Description = description;
     file.Type = type;
     file.PresentationId = presentationId;
     return file;
 }