/// <summary> /// Deprecated Method for adding a new object to the EmployeeAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeAddresses(EmployeeAddress employeeAddress) { base.AddObject("EmployeeAddresses", employeeAddress); }
/// <summary> /// Create a new EmployeeAddress object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static EmployeeAddress CreateEmployeeAddress(global::System.Int32 employeeID, global::System.Int32 addressID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { EmployeeAddress employeeAddress = new EmployeeAddress(); employeeAddress.EmployeeID = employeeID; employeeAddress.AddressID = addressID; employeeAddress.rowguid = rowguid; employeeAddress.ModifiedDate = modifiedDate; return employeeAddress; }