コード例 #1
0
 /// <summary>
 /// Create a new EmpMoney object.
 /// </summary>
 /// <param name="employeeId">Initial value of EmployeeId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="workingDay">Initial value of WorkingDay.</param>
 public static EmpMoney CreateEmpMoney(string employeeId, long departmentId, string workingDay)
 {
     EmpMoney empMoney = new EmpMoney();
     empMoney.EmployeeId = employeeId;
     empMoney.DepartmentId = departmentId;
     empMoney.WorkingDay = workingDay;
     return empMoney;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmpMoneys EntitySet.
 /// </summary>
 public void AddToEmpMoneys(EmpMoney empMoney)
 {
     base.AddObject("EmpMoneys", empMoney);
 }