is there an ExecuteScalar in Dapper
问题 it looks like there was an ExecuteScalar in Dapper... http://code.google.com/p/dapper-dot-net/issues/attachmentText?id=22&aid=220000000&name=ExecuteScalar.cs&token=9e2fd8899022f507b140ffb883c60e34 Was ExecuteScalar renamed or removed? Can this now be achieved with .Query or .Query<T>? 回答1: ExecuteScalar was just added in 1.28: https://www.nuget.org/packages/Dapper 回答2: I was able to call ExecuteScalar< T > with version 1.42.0 public Boolean BeforeToday(DateTime dateInQuestion) { try { using