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