mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 03:09:34 +08:00
-
This commit is contained in:
@@ -106,12 +106,12 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public virtual bool IsAnySystemTablePermissions()
|
public virtual bool IsAnySystemTablePermissions()
|
||||||
{
|
{
|
||||||
|
this.Context.Ado.CheckConnection();
|
||||||
string sql = this.CheckSystemTablePermissionsSql;
|
string sql = this.CheckSystemTablePermissionsSql;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
||||||
this.Context.Ado.IsEnableLogEvent = false;
|
this.Context.Ado.IsEnableLogEvent = false;
|
||||||
this.Context.Ado.CheckConnection();
|
|
||||||
this.Context.Ado.ExecuteCommand(sql);
|
this.Context.Ado.ExecuteCommand(sql);
|
||||||
this.Context.Ado.IsEnableLogEvent = oldIsEnableLog;
|
this.Context.Ado.IsEnableLogEvent = oldIsEnableLog;
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.2.1.1")]
|
[assembly: AssemblyVersion("4.2.1.2")]
|
||||||
[assembly: AssemblyFileVersion("4.2.1.1")]
|
[assembly: AssemblyFileVersion("4.2.1.2")]
|
||||||
|
|||||||
Reference in New Issue
Block a user