Esempio n. 1
0
        /// <summary>
        /// Create a new EmployeeIdentity object.
        /// </summary>
        /// <param name="empNo">Initial value of the EmpNo property.</param>
        /// <param name="empName">Initial value of the EmpName property.</param>
        public static EmployeeIdentity CreateEmployeeIdentity(global::System.Int32 empNo, global::System.String empName)
        {
            EmployeeIdentity employeeIdentity = new EmployeeIdentity();

            employeeIdentity.EmpNo   = empNo;
            employeeIdentity.EmpName = empName;
            return(employeeIdentity);
        }
 /// <summary>
 /// Create a new EmployeeIdentity object.
 /// </summary>
 /// <param name="empNo">Initial value of the EmpNo property.</param>
 /// <param name="empName">Initial value of the EmpName property.</param>
 public static EmployeeIdentity CreateEmployeeIdentity(global::System.Int32 empNo, global::System.String empName)
 {
     EmployeeIdentity employeeIdentity = new EmployeeIdentity();
     employeeIdentity.EmpNo = empNo;
     employeeIdentity.EmpName = empName;
     return employeeIdentity;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmployeeIdentities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployeeIdentities(EmployeeIdentity employeeIdentity)
 {
     base.AddObject("EmployeeIdentities", employeeIdentity);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EmployeeIdentities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployeeIdentities(EmployeeIdentity employeeIdentity)
 {
     base.AddObject("EmployeeIdentities", employeeIdentity);
 }