/// <summary> /// Create a new SubmittedProblem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="teamId">Initial value of the TeamId property.</param> /// <param name="problemId">Initial value of the ProblemId property.</param> /// <param name="time">Initial value of the Time property.</param> public static SubmittedProblem CreateSubmittedProblem(global::System.Int32 id, global::System.Int32 teamId, global::System.Int32 problemId, global::System.DateTime time) { SubmittedProblem submittedProblem = new SubmittedProblem(); submittedProblem.Id = id; submittedProblem.TeamId = teamId; submittedProblem.ProblemId = problemId; submittedProblem.Time = time; return(submittedProblem); }
/// <summary> /// Create a new SubmittedProblem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="teamId">Initial value of the TeamId property.</param> /// <param name="problemId">Initial value of the ProblemId property.</param> /// <param name="time">Initial value of the Time property.</param> public static SubmittedProblem CreateSubmittedProblem(global::System.Int32 id, global::System.Int32 teamId, global::System.Int32 problemId, global::System.DateTime time) { SubmittedProblem submittedProblem = new SubmittedProblem(); submittedProblem.Id = id; submittedProblem.TeamId = teamId; submittedProblem.ProblemId = problemId; submittedProblem.Time = time; return submittedProblem; }
/// <summary> /// Deprecated Method for adding a new object to the SubmittedProblems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubmittedProblems(SubmittedProblem submittedProblem) { base.AddObject("SubmittedProblems", submittedProblem); }