C
C#2y ago
BokoGanga

❔ Passing a list of values to Stored Procedure in EF Core

Hey devs, I would like to know whether it is possible to pass a list of values as a parameter to a stored procedure in EF Core? I have a list of emails and I want to create a stored procedure to check whether they exist as users in a Users table, if not, create new user for each email. I want to avoid looping through the list, send request for each email to check if it exists, and then send a request creating new users. Thank you
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server