Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployees(Employee employee)
 {
     base.AddObject("Employees", employee);
 }
Example #2
0
 /// <summary>
 /// Create a new Employee object.
 /// </summary>
 /// <param name="contractCode">Initial value of the contractCode property.</param>
 /// <param name="companyCode">Initial value of the companyCode property.</param>
 /// <param name="code">Initial value of the code property.</param>
 /// <param name="version">Initial value of the version property.</param>
 /// <param name="firstName">Initial value of the firstName property.</param>
 /// <param name="lastName">Initial value of the lastName property.</param>
 /// <param name="sortIndex">Initial value of the sortIndex property.</param>
 /// <param name="active_p">Initial value of the active_p property.</param>
 public static Employee CreateEmployee(global::System.Decimal contractCode, global::System.Decimal companyCode, global::System.String code, global::System.Decimal version, global::System.String firstName, global::System.String lastName, global::System.Int16 sortIndex, global::System.String active_p)
 {
     Employee employee = new Employee();
     employee.contractCode = contractCode;
     employee.companyCode = companyCode;
     employee.code = code;
     employee.version = version;
     employee.firstName = firstName;
     employee.lastName = lastName;
     employee.sortIndex = sortIndex;
     employee.active_p = active_p;
     return employee;
 }