/// <summary> /// Deprecated Method for adding a new object to the SiteContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSiteContacts(SiteContact siteContact) { base.AddObject("SiteContacts", siteContact); }
/// <summary> /// Create a new SiteContact object. /// </summary> /// <param name="siteId">Initial value of the SiteId property.</param> /// <param name="siteContId">Initial value of the SiteContId property.</param> public static SiteContact CreateSiteContact(global::System.Int32 siteId, global::System.Int32 siteContId) { SiteContact siteContact = new SiteContact(); siteContact.SiteId = siteId; siteContact.SiteContId = siteContId; return siteContact; }