- 优化 IUpdate 批量 case when 同值的 SQL 生成;#1393

This commit is contained in:
2881099
2023-01-06 01:59:28 +08:00
parent 050a00104a
commit 1d9cd1f59d
10 changed files with 46 additions and 129 deletions

View File

@ -1,4 +1,4 @@
using FreeSql.DataAnnotations;
using FreeSql.DataAnnotations;
using System;
using System.Data.Odbc;
using Xunit;
@ -58,7 +58,7 @@ namespace FreeSql.Tests.Custom.MySql
[Fact]
public void QueryMultipline()
{
Assert.Throws<Exception>(() => g.mysql.Ado.Query<xxx, (int, string, string), dynamic>("select * from song; select * from song; select * from song"));
g.mysql.Ado.Query<xxx, (int, string, string), dynamic>("select * from song; select * from song; select * from song");
}
class xxx