mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 09:44:39 +08:00
.NET Framework BackupDataBase
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user