/// <summary> /// Deprecated Method for adding a new object to the AdAudiences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdAudiences(AdAudience adAudience) { base.AddObject("AdAudiences", adAudience); }
/// <summary> /// Create a new AdAudience object. /// </summary> /// <param name="adID">Initial value of the AdID 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="countryID">Initial value of the CountryID property.</param> /// <param name="countryName">Initial value of the CountryName property.</param> /// <param name="zipcode">Initial value of the Zipcode property.</param> /// <param name="industryID">Initial value of the IndustryID property.</param> /// <param name="profession">Initial value of the Profession property.</param> /// <param name="dateCreated">Initial value of the DateCreated 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 AdAudience CreateAdAudience(global::System.Int32 adID, global::System.Int32 languageID, global::System.Int32 genderID, global::System.Int32 ageRangeID, global::System.Int32 countryID, global::System.String countryName, global::System.String zipcode, global::System.Int32 industryID, global::System.String profession, global::System.DateTime dateCreated, global::System.Int32 regionID, global::System.String regionName, global::System.String countryCode, global::System.String flagPath, global::System.String professionID) { AdAudience adAudience = new AdAudience(); adAudience.AdID = adID; adAudience.LanguageID = languageID; adAudience.GenderID = genderID; adAudience.AgeRangeID = ageRangeID; adAudience.CountryID = countryID; adAudience.CountryName = countryName; adAudience.Zipcode = zipcode; adAudience.IndustryID = industryID; adAudience.Profession = profession; adAudience.DateCreated = dateCreated; adAudience.RegionID = regionID; adAudience.RegionName = regionName; adAudience.CountryCode = countryCode; adAudience.FlagPath = flagPath; adAudience.ProfessionID = professionID; return adAudience; }