/// <summary> /// Deprecated Method for adding a new object to the PictureLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPictureLocations(PictureLocation pictureLocation) { base.AddObject("PictureLocations", pictureLocation); }
/// <summary> /// Create a new PictureLocation object. /// </summary> /// <param name="pictureId">Initial value of the PictureId property.</param> /// <param name="fileName">Initial value of the FileName property.</param> /// <param name="path">Initial value of the Path property.</param> public static PictureLocation CreatePictureLocation(global::System.Int32 pictureId, global::System.String fileName, global::System.String path) { PictureLocation pictureLocation = new PictureLocation(); pictureLocation.PictureId = pictureId; pictureLocation.FileName = fileName; pictureLocation.Path = path; return pictureLocation; }