/// <summary> /// Deprecated Method for adding a new object to the Pictures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPictures(Picture picture) { base.AddObject("Pictures", picture); }
/// <summary> /// Create a new Picture object. /// </summary> /// <param name="pictureId">Initial value of the PictureId property.</param> public static Picture CreatePicture(global::System.Int32 pictureId) { Picture picture = new Picture(); picture.PictureId = pictureId; return picture; }