/// <summary> /// Create a new ContentImage object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="imageSource">Initial value of the ImageSource property.</param> /// <param name="contentId">Initial value of the ContentId property.</param> public static ContentImage CreateContentImage(global::System.Int32 id, global::System.String imageSource, global::System.Int32 contentId) { ContentImage contentImage = new ContentImage(); contentImage.Id = id; contentImage.ImageSource = imageSource; contentImage.ContentId = contentId; return contentImage; }
/// <summary> /// Deprecated Method for adding a new object to the ContentImage EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentImage(ContentImage contentImage) { base.AddObject("ContentImage", contentImage); }