public static DataBaseUpdate FromXML(byte[] xmlBytes)
        {
            DataBaseUpdate dbUpdate = null;

            using (MemoryStream ms = new MemoryStream(xmlBytes)) {
                XmlSerializer xs = new XmlSerializer(typeof(DataBaseUpdate));
                dbUpdate = xs.Deserialize(ms) as DataBaseUpdate;
            }
            return(dbUpdate);
        }
        public MainWindow()
        {
            InitializeComponent();
            DataBaseUpdate dbUpdate = DataBaseUpdate.FromXML(System.IO.File.ReadAllBytes(@"c:\temp\stackOverflow.xml"));

            if (dbUpdate != null)
            {
                this.dataGrid.ItemsSource = dbUpdate.InsertTFSQueryList;
            }
        }