/// <summary> /// Create a new FeaturedListing object. /// </summary> /// <param name="buildingId">Initial value of the BuildingId property.</param> /// <param name="scheduledDate">Initial value of the ScheduledDate property.</param> /// <param name="featuredSectionId">Initial value of the FeaturedSectionId property.</param> public static FeaturedListing CreateFeaturedListing(global::System.Int64 buildingId, global::System.DateTime scheduledDate, global::System.Int32 featuredSectionId) { FeaturedListing featuredListing = new FeaturedListing(); featuredListing.BuildingId = buildingId; featuredListing.ScheduledDate = scheduledDate; featuredListing.FeaturedSectionId = featuredSectionId; return featuredListing; }
/// <summary> /// Deprecated Method for adding a new object to the FeaturedListings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeaturedListings(FeaturedListing featuredListing) { base.AddObject("FeaturedListings", featuredListing); }