For more advanced configurations, developers can make use of the _________ method inside the DbContext to execute any arbitrary SQL commands.
- Sql
- ExecuteSql
- Query
- ExecuteSqlCommand
In Entity Framework Core, developers can use the ExecuteSqlCommand method inside the DbContext to execute arbitrary SQL commands. This is especially useful for advanced configurations, data migrations, or when you need to perform database operations that are not supported by LINQ.
Loading...
Related Quiz
- Unlike the traditional ASP.NET which relied on System.Web.dll, ASP.NET Core operates on a set of granular and modular _________ packages.
- You are tasked with building a cross-platform web application that can run on both Windows and Linux servers. Which version of ASP.NET would be most suitable for this requirement?
- What is the primary purpose of migrations in the context of ASP.NET Core Identity?
- What is the main difference between [Authorize] and [AllowAnonymous] attributes?
- What file extension is commonly associated with Razor views?