/// <summary> /// Create a new ReservedFeaturedListing 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> /// <param name="expirationDate">Initial value of the ExpirationDate property.</param> public static ReservedFeaturedListing CreateReservedFeaturedListing(global::System.Int64 buildingId, global::System.DateTime scheduledDate, global::System.Int32 featuredSectionId, global::System.DateTime expirationDate) { ReservedFeaturedListing reservedFeaturedListing = new ReservedFeaturedListing(); reservedFeaturedListing.BuildingId = buildingId; reservedFeaturedListing.ScheduledDate = scheduledDate; reservedFeaturedListing.FeaturedSectionId = featuredSectionId; reservedFeaturedListing.ExpirationDate = expirationDate; return reservedFeaturedListing; }
/// <summary> /// Deprecated Method for adding a new object to the ReservedFeaturedListings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReservedFeaturedListings(ReservedFeaturedListing reservedFeaturedListing) { base.AddObject("ReservedFeaturedListings", reservedFeaturedListing); }