Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Solutions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSolutions(Solution solution)
 {
     base.AddObject("Solutions", solution);
 }
Пример #2
0
 /// <summary>
 /// Create a new Solution object.
 /// </summary>
 /// <param name="solutionID">Initial value of the SolutionID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="languageTaskID">Initial value of the LanguageTaskID property.</param>
 public static Solution CreateSolution(global::System.Int32 solutionID, global::System.String description, global::System.Int32 languageTaskID)
 {
     Solution solution = new Solution();
     solution.SolutionID = solutionID;
     solution.Description = description;
     solution.LanguageTaskID = languageTaskID;
     return solution;
 }