Inheritance: System.Data.Entity.Core.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the File EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFile(File file)
 {
     base.AddObject("File", 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="content_type">Initial value of the content_type property.</param>
 /// <param name="data">Initial value of the data property.</param>
 /// <param name="version">Initial value of the version property.</param>
 public static File CreateFile(global::System.Int32 id, global::System.String name, global::System.String content_type, global::System.Byte[] data, global::System.Int32 version)
 {
     File file = new File();
     file.id = id;
     file.name = name;
     file.content_type = content_type;
     file.data = data;
     file.version = version;
     return file;
 }