/// <summary> /// Deprecated Method for adding a new object to the PendingAds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPendingAds(PendingAd pendingAd) { base.AddObject("PendingAds", pendingAd); }
/// <summary> /// Create a new PendingAd object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="sectionID">Initial value of the SectionID property.</param> /// <param name="positionID">Initial value of the PositionID property.</param> /// <param name="navigateUrl">Initial value of the NavigateUrl property.</param> /// <param name="formatID">Initial value of the FormatID property.</param> /// <param name="imageUrl">Initial value of the ImageUrl property.</param> /// <param name="alternateText">Initial value of the AlternateText property.</param> /// <param name="keyword">Initial value of the Keyword property.</param> /// <param name="impressions">Initial value of the Impressions property.</param> /// <param name="width">Initial value of the Width property.</param> /// <param name="height">Initial value of the Height property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> /// <param name="adTypeID">Initial value of the AdTypeID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="adName">Initial value of the AdName property.</param> /// <param name="languageID">Initial value of the LanguageID property.</param> /// <param name="genderID">Initial value of the GenderID property.</param> /// <param name="ageRangeID">Initial value of the AgeRangeID property.</param> /// <param name="zipcode">Initial value of the Zipcode property.</param> /// <param name="industryID">Initial value of the IndustryID property.</param> /// <param name="numberofProfession">Initial value of the NumberofProfession property.</param> /// <param name="profession">Initial value of the Profession property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="countryID">Initial value of the CountryID property.</param> /// <param name="countryName">Initial value of the CountryName property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionName">Initial value of the RegionName property.</param> /// <param name="countryCode">Initial value of the CountryCode property.</param> /// <param name="flagPath">Initial value of the FlagPath property.</param> /// <param name="professionID">Initial value of the ProfessionID property.</param> public static PendingAd CreatePendingAd(global::System.Int32 id, global::System.Int32 siteID, global::System.Int32 sectionID, global::System.Int32 positionID, global::System.String navigateUrl, global::System.Int32 formatID, global::System.String imageUrl, global::System.String alternateText, global::System.String keyword, global::System.Int32 impressions, global::System.Int32 width, global::System.Int32 height, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Int32 adTypeID, global::System.Guid userID, global::System.String adName, global::System.Int32 languageID, global::System.Int32 genderID, global::System.Int32 ageRangeID, global::System.String zipcode, global::System.Int32 industryID, global::System.Int32 numberofProfession, global::System.String profession, global::System.DateTime dateCreated, global::System.Int32 countryID, global::System.String countryName, global::System.Int32 regionID, global::System.String regionName, global::System.String countryCode, global::System.String flagPath, global::System.String professionID) { PendingAd pendingAd = new PendingAd(); pendingAd.ID = id; pendingAd.SiteID = siteID; pendingAd.SectionID = sectionID; pendingAd.PositionID = positionID; pendingAd.NavigateUrl = navigateUrl; pendingAd.FormatID = formatID; pendingAd.ImageUrl = imageUrl; pendingAd.AlternateText = alternateText; pendingAd.Keyword = keyword; pendingAd.Impressions = impressions; pendingAd.Width = width; pendingAd.Height = height; pendingAd.StartDate = startDate; pendingAd.EndDate = endDate; pendingAd.AdTypeID = adTypeID; pendingAd.UserID = userID; pendingAd.AdName = adName; pendingAd.LanguageID = languageID; pendingAd.GenderID = genderID; pendingAd.AgeRangeID = ageRangeID; pendingAd.Zipcode = zipcode; pendingAd.IndustryID = industryID; pendingAd.NumberofProfession = numberofProfession; pendingAd.Profession = profession; pendingAd.DateCreated = dateCreated; pendingAd.CountryID = countryID; pendingAd.CountryName = countryName; pendingAd.RegionID = regionID; pendingAd.RegionName = regionName; pendingAd.CountryCode = countryCode; pendingAd.FlagPath = flagPath; pendingAd.ProfessionID = professionID; return pendingAd; }