/// <summary> /// Deprecated Method for adding a new object to the AdGenerals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdGenerals(AdGeneral adGeneral) { base.AddObject("AdGenerals", adGeneral); }
/// <summary> /// Create a new AdGeneral 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="isActive">Initial value of the IsActive 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="adID">Initial value of the AdID property.</param> public static AdGeneral CreateAdGeneral(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.Boolean isActive, global::System.Int32 adTypeID, global::System.Guid userID, global::System.String adName, global::System.Int32 adID) { AdGeneral adGeneral = new AdGeneral(); adGeneral.ID = id; adGeneral.SiteID = siteID; adGeneral.SectionID = sectionID; adGeneral.PositionID = positionID; adGeneral.NavigateUrl = navigateUrl; adGeneral.FormatID = formatID; adGeneral.ImageUrl = imageUrl; adGeneral.AlternateText = alternateText; adGeneral.Keyword = keyword; adGeneral.Impressions = impressions; adGeneral.Width = width; adGeneral.Height = height; adGeneral.StartDate = startDate; adGeneral.EndDate = endDate; adGeneral.IsActive = isActive; adGeneral.AdTypeID = adTypeID; adGeneral.UserID = userID; adGeneral.AdName = adName; adGeneral.AdID = adID; return adGeneral; }