/// <summary> /// Deprecated Method for adding a new object to the ImageInformations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToImageInformations(ImageInformation imageInformation) { base.AddObject("ImageInformations", imageInformation); }
/// <summary> /// Create a new ImageInformation object. /// </summary> /// <param name="tags">Initial value of the Tags property.</param> /// <param name="dateUploaded">Initial value of the DateUploaded property.</param> /// <param name="dateTaken">Initial value of the DateTaken property.</param> /// <param name="weight">Initial value of the Weight property.</param> /// <param name="pathToSmallThumbnail">Initial value of the PathToSmallThumbnail property.</param> /// <param name="pathToMediumThumbnail">Initial value of the PathToMediumThumbnail property.</param> /// <param name="pathToOriginalSize">Initial value of the PathToOriginalSize property.</param> /// <param name="id">Initial value of the Id property.</param> public static ImageInformation CreateImageInformation(global::System.String tags, global::System.DateTime dateUploaded, global::System.DateTime dateTaken, global::System.Int32 weight, global::System.String pathToSmallThumbnail, global::System.String pathToMediumThumbnail, global::System.String pathToOriginalSize, global::System.Int32 id) { ImageInformation imageInformation = new ImageInformation(); imageInformation.Tags = tags; imageInformation.DateUploaded = dateUploaded; imageInformation.DateTaken = dateTaken; imageInformation.Weight = weight; imageInformation.PathToSmallThumbnail = pathToSmallThumbnail; imageInformation.PathToMediumThumbnail = pathToMediumThumbnail; imageInformation.PathToOriginalSize = pathToOriginalSize; imageInformation.Id = id; return imageInformation; }