/// <summary> /// Create a new Probability object. /// </summary> /// <param name="probabilityID">Initial value of the ProbabilityID property.</param> public static Probability CreateProbability(global::System.Int32 probabilityID) { Probability probability = new Probability(); probability.ProbabilityID = probabilityID; return probability; }
/// <summary> /// Deprecated Method for adding a new object to the Probabilities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProbabilities(Probability probability) { base.AddObject("Probabilities", probability); }