/// <summary> /// Adds the exif. /// </summary> public static void AddExif() { // Show Exif property window. View.ImageProperties exifData = new View.ImageProperties(); exifData.Show(); // Connecting data base. string connectionString = DataAccess.ConnectionStringHelper.GetActualConnectionString(); ExifAttributesDataSource db = new ExifAttributesDataSource(connectionString); ExifAttribute exifObject = new ExifAttribute(); db.AddExif(exifObject); }
/// <summary> /// Gets all exif. /// </summary> /// <returns>Exif list.</returns> public static List<ExifAttribute> GetAllExif() { ExifAttributesDataSource db = new ExifAttributesDataSource(ConnectionStringHelper.GetActualConnectionString()); return db.GetAllExif(); }
/// <summary> /// Gets all exif. /// </summary> /// <returns>Exif list.</returns> public static List <ExifAttribute> GetAllExif() { ExifAttributesDataSource db = new ExifAttributesDataSource(ConnectionStringHelper.GetActualConnectionString()); return(db.GetAllExif()); }