示例#1
0
        public void Restore()
        {
            var restore = new BackupRestore
            {
                ExtractPath = WExtractPath,
                // ReSharper disable once AssignNullToNotNullAttribute
                BackupPath = Path.Combine(WExtractPath, Path.GetFileNameWithoutExtension(FileName)) + ".Bak"
            };

            restore.RestoreDb();
            OkRestore = restore.RestoreOk;
        }