/// <summary> /// Deprecated Method for adding a new object to the Nominations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNominations(Nomination nomination) { base.AddObject("Nominations", nomination); }
/// <summary> /// Create a new Nomination object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="tubeId">Initial value of the TubeId property.</param> /// <param name="investorId">Initial value of the InvestorId property.</param> /// <param name="enterepreneurId">Initial value of the EnterepreneurId property.</param> /// <param name="rating">Initial value of the Rating property.</param> /// <param name="panding">Initial value of the Panding property.</param> public static Nomination CreateNomination(global::System.Int32 id, global::System.Int32 tubeId, global::System.Guid investorId, global::System.Guid enterepreneurId, global::System.Int32 rating, global::System.Int32 panding) { Nomination nomination = new Nomination(); nomination.Id = id; nomination.TubeId = tubeId; nomination.InvestorId = investorId; nomination.EnterepreneurId = enterepreneurId; nomination.Rating = rating; nomination.Panding = panding; return nomination; }