/// <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(Package package) { base.AddObject("Packages", package); }
/// <summary> /// Create a new Package object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="uid">Initial value of the Uid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="size">Initial value of the Size property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="storedPath">Initial value of the StoredPath property.</param> /// <param name="productCode">Initial value of the ProductCode property.</param> /// <param name="upgradeCode">Initial value of the UpgradeCode property.</param> /// <param name="productVersion">Initial value of the ProductVersion property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> /// <param name="hash">Initial value of the Hash property.</param> public static Package CreatePackage(global::System.Int64 id, global::System.Guid uid, global::System.String name, global::System.Int64 size, global::System.DateTime created, global::System.String storedPath, global::System.Guid productCode, global::System.Guid upgradeCode, global::System.String productVersion, global::System.Byte[] timeStamp, global::System.String hash) { Package package = new Package(); package.Id = id; package.Uid = uid; package.Name = name; package.Size = size; package.Created = created; package.StoredPath = storedPath; package.ProductCode = productCode; package.UpgradeCode = upgradeCode; package.ProductVersion = productVersion; package.TimeStamp = timeStamp; package.Hash = hash; return package; }