/// <summary> /// Deprecated Method for adding a new object to the ReleasePackage EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReleasePackage(ReleasePackage releasePackage) { base.AddObject("ReleasePackage", releasePackage); }
public void CreateReleasePackage(ReleasePackage source) { context.ReleasePackage.AddObject(source); }
/// <summary> /// Create a new ReleasePackage object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="releaseID">Initial value of the ReleaseID property.</param> /// <param name="packageID">Initial value of the PackageID property.</param> /// <param name="note">Initial value of the Note property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static ReleasePackage CreateReleasePackage(global::System.Int32 id, global::System.Int32 releaseID, global::System.Int32 packageID, global::System.String note, global::System.DateTime createdDate) { ReleasePackage releasePackage = new ReleasePackage(); releasePackage.ID = id; releasePackage.ReleaseID = releaseID; releasePackage.PackageID = packageID; releasePackage.Note = note; releasePackage.CreatedDate = createdDate; return releasePackage; }