Example #1
0
        public DbsFileProcessor(string filename)
        {
            _filename   = filename;
            dbsDocument = XDocument.Load(filename);
            ISetup dal = Factory <ISetup> .Create("SnitzSetup");

            _dbType = dal.CheckVersion();
            XElement root = dbsDocument.Element("Tables");

            if (root != null)
            {
                Applied = Convert.ToBoolean(root.Attribute("applied").Value);
            }
        }