本文介绍了Dapper中是否有ExecuteScalar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dapper中似乎有一个ExecuteScalar ...

it looks like there was an ExecuteScalar in Dapper...

是否已重命名或删除了ExecuteScalar?

Was ExecuteScalar renamed or removed?

现在可以使用.Query或.Query< T>来实现吗?

Can this now be achieved with .Query or .Query<T>?

推荐答案

ExecuteScalar刚刚在1.28中添加:

ExecuteScalar was just added in 1.28: https://www.nuget.org/packages/Dapper

这篇关于Dapper中是否有ExecuteScalar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 04:28