/// <summary> /// Deprecated Method for adding a new object to the HR_Emp_FamilyMembers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_Emp_FamilyMembers(HR_Emp_FamilyMembers hR_Emp_FamilyMembers) { base.AddObject("HR_Emp_FamilyMembers", hR_Emp_FamilyMembers); }
/// <summary> /// Create a new HR_Emp_FamilyMembers object. /// </summary> /// <param name="familyMemberID">Initial value of the FamilyMemberID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="relationID">Initial value of the RelationID property.</param> /// <param name="gender">Initial value of the Gender property.</param> /// <param name="isNominee">Initial value of the IsNominee property.</param> /// <param name="contactPersonInEmergency">Initial value of the ContactPersonInEmergency property.</param> public static HR_Emp_FamilyMembers CreateHR_Emp_FamilyMembers(global::System.Int32 familyMemberID, global::System.String name, global::System.String age, global::System.Int32 relationID, global::System.String gender, global::System.String isNominee, global::System.Boolean contactPersonInEmergency) { HR_Emp_FamilyMembers hR_Emp_FamilyMembers = new HR_Emp_FamilyMembers(); hR_Emp_FamilyMembers.FamilyMemberID = familyMemberID; hR_Emp_FamilyMembers.Name = name; hR_Emp_FamilyMembers.Age = age; hR_Emp_FamilyMembers.RelationID = relationID; hR_Emp_FamilyMembers.Gender = gender; hR_Emp_FamilyMembers.IsNominee = isNominee; hR_Emp_FamilyMembers.ContactPersonInEmergency = contactPersonInEmergency; return hR_Emp_FamilyMembers; }