Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SiteClassifications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSiteClassifications(SiteClassification siteClassification)
 {
     base.AddObject("SiteClassifications", siteClassification);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new SiteClassification object.
 /// </summary>
 /// <param name="siteId">Initial value of the SiteId property.</param>
 /// <param name="classId">Initial value of the ClassId property.</param>
 public static SiteClassification CreateSiteClassification(global::System.Int32 siteId, global::System.Int32 classId)
 {
     SiteClassification siteClassification = new SiteClassification();
     siteClassification.SiteId = siteId;
     siteClassification.ClassId = classId;
     return siteClassification;
 }