コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_Emp_SmartGoals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_Emp_SmartGoals(HR_Emp_SmartGoals hR_Emp_SmartGoals)
 {
     base.AddObject("HR_Emp_SmartGoals", hR_Emp_SmartGoals);
 }
コード例 #2
0
 /// <summary>
 /// Create a new HR_Emp_SmartGoals object.
 /// </summary>
 /// <param name="smartGoalID">Initial value of the SmartGoalID property.</param>
 /// <param name="goalHeadLine">Initial value of the GoalHeadLine property.</param>
 /// <param name="goalDescription">Initial value of the GoalDescription property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="docPath">Initial value of the DocPath property.</param>
 public static HR_Emp_SmartGoals CreateHR_Emp_SmartGoals(global::System.Int32 smartGoalID, global::System.String goalHeadLine, global::System.String goalDescription, global::System.String year, global::System.String docPath)
 {
     HR_Emp_SmartGoals hR_Emp_SmartGoals = new HR_Emp_SmartGoals();
     hR_Emp_SmartGoals.SmartGoalID = smartGoalID;
     hR_Emp_SmartGoals.GoalHeadLine = goalHeadLine;
     hR_Emp_SmartGoals.GoalDescription = goalDescription;
     hR_Emp_SmartGoals.Year = year;
     hR_Emp_SmartGoals.DocPath = docPath;
     return hR_Emp_SmartGoals;
 }