/// <summary> /// Create a new File object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="path">Initial value of the Path property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="packageID">Initial value of the PackageID property.</param> public static File CreateFile(global::System.Int64 id, global::System.String path, global::System.Int64 type, global::System.Int64 packageID) { File file = new File(); file.ID = id; file.Path = path; file.Type = type; file.PackageID = packageID; return file; }
/// <summary> /// Deprecated Method for adding a new object to the Files EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFiles(File file) { base.AddObject("Files", file); }