/// <summary> /// Create a new EmpReward object. /// </summary> /// <param name="employeeId">Initial value of EmployeeId.</param> /// <param name="rewardDate">Initial value of RewardDate.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> public static EmpReward CreateEmpReward(string employeeId, global::System.DateTime rewardDate, long departmentId) { EmpReward empReward = new EmpReward(); empReward.EmployeeId = employeeId; empReward.RewardDate = rewardDate; empReward.DepartmentId = departmentId; return empReward; }
/// <summary> /// Deprecated Method for adding a new object to the EmpRewards EntitySet. /// </summary> public void AddToEmpRewards(EmpReward empReward) { base.AddObject("EmpRewards", empReward); }