コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubmittedProblems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubmittedProblems(SubmittedProblem submittedProblem)
 {
     base.AddObject("SubmittedProblems", submittedProblem);
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubmittedProblems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubmittedProblems(SubmittedProblem submittedProblem)
 {
     base.AddObject("SubmittedProblems", submittedProblem);
 }