Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Async with Data Access Classes

$
0
0

Hello everyone and thanks for the help in advance.  I have a Core 3.1 web application using EF Core for DB access.  I want to create an insert class that receives a set of parameters that in turn inserts the record.  This might be called by multiple points in the application, so I want to place this in a separate accessible class.  However, I am confused on exactly how to do this especially with async and await.  Would someone be able to point me to an example?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>