/// <summary> /// Create a new LegalEntityContact object. /// </summary> /// <param name="legalEntityContactId">Initial value of the LegalEntityContactId property.</param> /// <param name="dTCMapId">Initial value of the DTCMapId property.</param> public static LegalEntityContact CreateLegalEntityContact(global::System.Int32 legalEntityContactId, global::System.Int32 dTCMapId) { LegalEntityContact legalEntityContact = new LegalEntityContact(); legalEntityContact.LegalEntityContactId = legalEntityContactId; legalEntityContact.DTCMapId = dTCMapId; return(legalEntityContact); }
/// <summary> /// Deprecated Method for adding a new object to the LegalEntityContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLegalEntityContacts(LegalEntityContact legalEntityContact) { base.AddObject("LegalEntityContacts", legalEntityContact); }