Click here to Skip to main content
15,884,099 members
Articles / Desktop Programming / Windows Forms

SQLite Compare Utility

Rate me:
Please Sign up or sign in to vote.
4.89/5 (68 votes)
21 Feb 2015LGPL35 min read 280.8K   37.1K   131  
Utility for comparing two SQLite database files for both structure and data
using System;
using System.Collections.Generic;
using System.Text;

namespace AutomaticUpdates
{
    /// <summary>
    /// Describes a feature that was added to the software
    /// </summary>
    [Serializable]
    public class FeatureInfo
    {
        public FeatureInfo()
        {
        }

        /// <summary>
        /// Creates a new feature info object with the specified impact and description
        /// </summary>
        /// <param name="impact">The impact of the feature</param>
        /// <param name="description">The description of the feature</param>
        public FeatureInfo(FeatureImpact impact, string description)
        {
            _impact = impact;
            _description = description;
        }

        /// <summary>
        /// Get the impact of the feature on the system
        /// </summary>
        public FeatureImpact Impact
        {
            get { return _impact; }
            set { _impact = value; }
        }

        /// <summary>
        /// Get the description of the feature
        /// </summary>
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private FeatureImpact _impact;
        private string _description;
    }

    /// <summary>
    /// Describes the impart of the added feature
    /// </summary>
    public enum FeatureImpact
    {
        None = 0,

        Minor = 1,

        Major = 2,
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
Israel Israel
My name is Liron Levi and I'm developing software for fun & profit for 15 years already.

Comments and Discussions