/// <summary> /// Deprecated Method for adding a new object to the EmployeeDirectory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeDirectory(EmployeeDirectory employeeDirectory) { base.AddObject("EmployeeDirectory", employeeDirectory); }
/// <summary> /// Create a new EmployeeDirectory object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> public static EmployeeDirectory CreateEmployeeDirectory(global::System.Int32 employeeID) { EmployeeDirectory employeeDirectory = new EmployeeDirectory(); employeeDirectory.EmployeeID = employeeID; return employeeDirectory; }