本人想使用Entityframework.extended更新数据,使用如下代码:
db.InstoreOrders.Where(t=>t.ID==4).Update(u => new InstoreOrder() { Acceptor = "my"});
但是一直报语法错误:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near “[xplat].[InstoreOrder] SET
[Acceptor] = “my”
FROM [ecpi].[InstoreOrder] AS j0″ at line 1
莫非这个方法不能用在mysql上吗?
解决方案
20
EntityFramework.Extended不支持MUSQL的