Open
Description
I am trying to get a query result from a script that builds a temp table . I am executing: ExecuteSqlInterpolatedAsync
and ExecuteSqlRawAsync
and they both return an int
... digging a bit more, found that both in the underline code execute this: rawSqlCommand.RelationalCommand.ExecuteNonQuery
how am I supposed to execute a query when I dont have an entity in the database? The documentation suggests that this is possible.
thanks for your help.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 5ac0e657-7fca-4086-3f92-85731661a2bb
- Version Independent ID: 39e02a50-bbde-b95c-22df-5bd1ee43893f
- Content: RelationalDatabaseFacadeExtensions.ExecuteSqlRaw Method (Microsoft.EntityFrameworkCore)
- Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/RelationalDatabaseFacadeExtensions.xml
- Product: entity-framework-core
- GitHub Login: @dotnet-bot
- Microsoft Alias: divega