From 60ba547f6f47a55d7765f8c36c86225c89f96599 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 4 Jun 2017 21:54:25 +0800 Subject: [PATCH] Delete Bug --- SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs b/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs index 784a77ba7..4461d5866 100644 --- a/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs +++ b/SqlSugar/Abstract/DeleteProvider/DeleteableProvider.cs @@ -28,7 +28,7 @@ namespace SqlSugar string sql = DeleteBuilder.ToSqlString(); var paramters = DeleteBuilder.Parameters==null?null:DeleteBuilder.Parameters.ToArray(); RestoreMapping(); - return Db.GetInt(sql, paramters); + return Db.ExecuteCommand(sql, paramters); } public IDeleteable AS(string tableName) {