mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
.NET Framework BackupDataBase
This commit is contained in:
parent
001471dc57
commit
f9ef41094e
@ -457,8 +457,8 @@ AND sql LIKE '%"+tableName+"%'");
|
||||
}
|
||||
public override bool BackupDataBase(string databaseName, string fullFileName)
|
||||
{
|
||||
Check.ThrowNotSupportedException("MySql BackupDataBase NotSupported");
|
||||
return false;
|
||||
this.Context.Ado.ExecuteCommand($"VACUUM INTO '{fullFileName}'");
|
||||
return true;
|
||||
}
|
||||
private List<T> GetListOrCache<T>(string cacheKey, string sql)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user