partial void OnExposureChanging(Exposure value);
/// <summary> /// Create a new PhotoInfo object. /// </summary> /// <param name="photoId">Initial value of the PhotoId property.</param> /// <param name="fileName">Initial value of the FileName property.</param> /// <param name="dateAdded">Initial value of the DateAdded property.</param> /// <param name="exposure">Initial value of the Exposure property.</param> /// <param name="dimensions">Initial value of the Dimensions property.</param> /// <param name="dateModified">Initial value of the DateModified property.</param> public static PhotoInfo CreatePhotoInfo(global::System.Int32 photoId, global::System.String fileName, global::System.DateTime dateAdded, Exposure exposure, Dimensions dimensions, global::System.DateTime dateModified) { PhotoInfo photoInfo = new PhotoInfo(); photoInfo.PhotoId = photoId; photoInfo.FileName = fileName; photoInfo.DateAdded = dateAdded; photoInfo.Exposure = StructuralObject.VerifyComplexObjectIsNotNull(exposure, "Exposure"); photoInfo.Dimensions = StructuralObject.VerifyComplexObjectIsNotNull(dimensions, "Dimensions"); photoInfo.DateModified = dateModified; return(photoInfo); }