Reputation: 37
I am writing a repo against an Oracle Db using Dapper v 1.50.4 ,Dapper-Async 1.3.0, Oracle.ManagedAccess 12.2.1100, and .Net 4.61 but cannot find the ExecuteAsync method
These are the latest packages from NuGet. Any idea why I am running into this? I just compared this project that implements another prod repo that uses ExecuteAsync and I have no idea what I am missing.
Upvotes: 1
Views: 2326
Reputation: 10209
There must be a mix up with a version of Dapper, or Dapper-Async library.
To verify:
install-package Dapper
class Program
{
static async void Main(string[] args)
{
var conn = new SqlConnection();
var x = await conn.ExecuteAsync("select 1");
}
}
Also, I don't think you need "Dapper-Async" library here, Dapper has full support for TLP usage.
Upvotes: 1