/// <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);
        }
示例#2
0
        /// <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();
        }
示例#4
0
        /// <summary>
        /// Gets all exif.
        /// </summary>
        /// <returns>Exif list.</returns>
        public static List <ExifAttribute> GetAllExif()
        {
            ExifAttributesDataSource db = new ExifAttributesDataSource(ConnectionStringHelper.GetActualConnectionString());

            return(db.GetAllExif());
        }