Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FeaturedListings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeaturedListings(FeaturedListing featuredListing)
 {
     base.AddObject("FeaturedListings", featuredListing);
 }
Пример #2
0
 /// <summary>
 /// Create a new FeaturedListing object.
 /// </summary>
 /// <param name="featuredListingId">Initial value of the FeaturedListingId property.</param>
 /// <param name="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="scheduledDate">Initial value of the ScheduledDate property.</param>
 public static FeaturedListing CreateFeaturedListing(global::System.Int32 featuredListingId, global::System.Int64 buildingId, global::System.DateTime scheduledDate)
 {
     FeaturedListing featuredListing = new FeaturedListing();
     featuredListing.FeaturedListingId = featuredListingId;
     featuredListing.BuildingId = buildingId;
     featuredListing.ScheduledDate = scheduledDate;
     return featuredListing;
 }