MC_2018
Explore posts from serversDTDrizzle Team
•Created by MC_2018 on 11/15/2024 in #help
How to delete multiple db entries at once?
I have a list of IDs of items I wish to delete, but I cannot figure out a way to delete them. I would prefer not to use hard-coded SQL as that's why I chose to use Drizzle over other alternatives. Here is what I have and what I found, but does not appear to work. I could not find any
IN
function built into Drizzle. Any help would be much appreciated.
2 replies
DbContext with IServiceProvider: whether or not to have a using statement
Hello, I have a straightforward question regarding using a DbContext from IServiceProvider. I'm aware that traditionally, when creating a DbContext, you should have a
using
statement; is this still needed when using the IServiceProvider?
Or does the IServiceProvider handle disposal and no longer require it?
3 replies