/// <summary> /// Deprecated Method for adding a new object to the TempAd2 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTempAd2(TempAd2 tempAd2) { base.AddObject("TempAd2", tempAd2); }
/// <summary> /// Create a new TempAd2 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="country">Initial value of the Country property.</param> /// <param name="countryID">Initial value of the CountryID property.</param> /// <param name="countryCode">Initial value of the CountryCode property.</param> /// <param name="region">Initial value of the Region property.</param> /// <param name="regionCode">Initial value of the RegionCode property.</param> /// <param name="city">Initial value of the City 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> public static TempAd2 CreateTempAd2(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 country, global::System.Int32 countryID, global::System.String countryCode, global::System.String region, global::System.Int32 regionCode, global::System.String city, global::System.String zipcode, global::System.Int32 industryID, global::System.Int32 numberofProfession, global::System.String profession, global::System.DateTime dateCreated) { TempAd2 tempAd2 = new TempAd2(); tempAd2.ID = id; tempAd2.SiteID = siteID; tempAd2.SectionID = sectionID; tempAd2.PositionID = positionID; tempAd2.NavigateUrl = navigateUrl; tempAd2.FormatID = formatID; tempAd2.ImageUrl = imageUrl; tempAd2.AlternateText = alternateText; tempAd2.Keyword = keyword; tempAd2.Impressions = impressions; tempAd2.Width = width; tempAd2.Height = height; tempAd2.StartDate = startDate; tempAd2.EndDate = endDate; tempAd2.AdTypeID = adTypeID; tempAd2.UserID = userID; tempAd2.AdName = adName; tempAd2.LanguageID = languageID; tempAd2.GenderID = genderID; tempAd2.AgeRangeID = ageRangeID; tempAd2.Country = country; tempAd2.CountryID = countryID; tempAd2.CountryCode = countryCode; tempAd2.Region = region; tempAd2.RegionCode = regionCode; tempAd2.City = city; tempAd2.Zipcode = zipcode; tempAd2.IndustryID = industryID; tempAd2.NumberofProfession = numberofProfession; tempAd2.Profession = profession; tempAd2.DateCreated = dateCreated; return tempAd2; }