/// <summary> /// Deprecated Method for adding a new object to the Predictions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPredictions(Prediction prediction) { base.AddObject("Predictions", prediction); }
/// <summary> /// Create a new Prediction object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="participant_Id">Initial value of the Participant_Id property.</param> /// <param name="predictionType_Id">Initial value of the PredictionType_Id property.</param> public static Prediction CreatePrediction(global::System.Int32 id, global::System.Int32 participant_Id, global::System.Int32 predictionType_Id) { Prediction prediction = new Prediction(); prediction.Id = id; prediction.Participant_Id = participant_Id; prediction.PredictionType_Id = predictionType_Id; return prediction; }