From d1fdabb70b2ee677d92ab07eb0810bbaa5602d73 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 8 Jul 2017 18:01:41 +0800 Subject: [PATCH] MySql BackupDataBase NotSupported --- .../Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs index 0d84ca261..5b25d2778 100644 --- a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs +++ b/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs @@ -226,6 +226,11 @@ namespace SqlSugar { throw new NotSupportedException("MySql IsAnyConstraint NotSupportedException"); } + public override bool BackupDataBase(string databaseName, string fullFileName) + { + Check.ThrowNotSupportedException("MySql BackupDataBase NotSupported"); + return false; + } #endregion } }