/// <summary> /// Deprecated Method for adding a new object to the Packages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPackages(Packages packages) { base.AddObject("Packages", packages); }
/// <summary> /// Create a new Packages object. /// </summary> /// <param name="packageID">Initial value of the PackageID property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Packages CreatePackages(global::System.Int32 packageID, global::System.DateTime addDate, global::System.Byte[] rowVersion) { Packages packages = new Packages(); packages.PackageID = packageID; packages.AddDate = addDate; packages.RowVersion = rowVersion; return packages; }