/// <summary>
 /// Deprecated Method for adding a new object to the ListingCounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToListingCounts(ListingCount listingCount)
 {
     base.AddObject("ListingCounts", listingCount);
 }
 /// <summary>
 /// Create a new ListingCount object.
 /// </summary>
 /// <param name="listingId">Initial value of the ListingId property.</param>
 /// <param name="searchCount">Initial value of the SearchCount property.</param>
 /// <param name="viewCount">Initial value of the ViewCount property.</param>
 public static ListingCount CreateListingCount(global::System.Int32 listingId, global::System.Int32 searchCount, global::System.Int32 viewCount)
 {
     ListingCount listingCount = new ListingCount();
     listingCount.ListingId = listingId;
     listingCount.SearchCount = searchCount;
     listingCount.ViewCount = viewCount;
     return listingCount;
 }