/// <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="virtualPath">Initial value of the VirtualPath property.</param>
 /// <param name="dateTimeUploaded">Initial value of the DateTimeUploaded property.</param>
 public static File CreateFile(global::System.Guid id, global::System.String name, global::System.String virtualPath, global::System.DateTime dateTimeUploaded)
 {
     File file = new File();
     file.ID = id;
     file.Name = name;
     file.VirtualPath = virtualPath;
     file.DateTimeUploaded = dateTimeUploaded;
     return file;
 }