/// <summary> /// Deprecated Method for adding a new object to the TempAds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTempAds(TempAd tempAd) { base.AddObject("TempAds", tempAd); }
/// <summary> /// Create a new TempAd 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 TempAd CreateTempAd(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) { TempAd tempAd = new TempAd(); tempAd.ID = id; tempAd.SiteID = siteID; tempAd.SectionID = sectionID; tempAd.PositionID = positionID; tempAd.NavigateUrl = navigateUrl; tempAd.FormatID = formatID; tempAd.ImageUrl = imageUrl; tempAd.AlternateText = alternateText; tempAd.Keyword = keyword; tempAd.Impressions = impressions; tempAd.Width = width; tempAd.Height = height; tempAd.StartDate = startDate; tempAd.EndDate = endDate; tempAd.AdTypeID = adTypeID; tempAd.UserID = userID; tempAd.AdName = adName; tempAd.LanguageID = languageID; tempAd.GenderID = genderID; tempAd.AgeRangeID = ageRangeID; tempAd.Zipcode = zipcode; tempAd.IndustryID = industryID; tempAd.NumberofProfession = numberofProfession; tempAd.Profession = profession; tempAd.DateCreated = dateCreated; tempAd.CountryID = countryID; tempAd.CountryName = countryName; tempAd.RegionID = regionID; tempAd.RegionName = regionName; tempAd.CountryCode = countryCode; tempAd.FlagPath = flagPath; tempAd.ProfessionID = professionID; return tempAd; }