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