Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SiteContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSiteContacts(SiteContact siteContact)
 {
     base.AddObject("SiteContacts", siteContact);
 }
Example #2
0
 /// <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;
 }