调用数据库备份方法备份数据库
This commit is contained in:
parent
eebb7d067f
commit
440970632c
|
@ -335,7 +335,8 @@ namespace CalendarNotepad
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var filePath = sdlg.FileName;
|
var filePath = sdlg.FileName;
|
||||||
File.Copy(this.Db.SqliteDbfile,filePath);
|
//File.Copy(this.Db.SqliteDbfile,filePath);
|
||||||
|
this.Db.DbMaintenance.BackupDataBase(null,filePath);
|
||||||
MessageBox.Show("备份完成");
|
MessageBox.Show("备份完成");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user