/// <summary> /// Create a new PageMedia object. /// </summary> /// <param name="pageId">Initial value of the PageId property.</param> /// <param name="mediaId">Initial value of the MediaId property.</param> /// <param name="order">Initial value of the Order property.</param> public static PageMedia CreatePageMedia(global::System.Int32 pageId, global::System.Int32 mediaId, global::System.Int32 order) { PageMedia pageMedia = new PageMedia(); pageMedia.PageId = pageId; pageMedia.MediaId = mediaId; pageMedia.Order = order; return pageMedia; }
/// <summary> /// Deprecated Method for adding a new object to the PageMedias EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPageMedias(PageMedia pageMedia) { base.AddObject("PageMedias", pageMedia); }