/// <summary> /// Create a new DiscreteResult object. /// </summary> /// <param name="discreteResultID">Initial value of the DiscreteResultID property.</param> /// <param name="result">Initial value of the Result property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> public static DiscreteResult CreateDiscreteResult(global::System.Decimal discreteResultID, global::System.Double result, global::System.DateTime lastModified) { DiscreteResult discreteResult = new DiscreteResult(); discreteResult.DiscreteResultID = discreteResultID; discreteResult.Result = result; discreteResult.LastModified = lastModified; return discreteResult; }
/// <summary> /// Deprecated Method for adding a new object to the DiscreteResults EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDiscreteResults(DiscreteResult discreteResult) { base.AddObject("DiscreteResults", discreteResult); }