EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Missed code example

Open miksh7 opened this issue 8 months ago • 0 comments

Type of issue

Missing information

Description

This overload also accepts DbParameter instances as parameter values. In addition to using positional placeholders as above ({0}), you can also use named placeholders directly in the SQL query string.

The quote above mentions usage of ({0}) but there is no code using {(0)} in this article. Also, it would be useful to add 'named placeholder' example.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.relationalqueryableextensions.fromsqlraw?view=efcore-9.0

Content source URL

https://github.com/dotnet/EntityFramework.ApiDocs/blob/live/dotnet/xml/Microsoft.EntityFrameworkCore/RelationalQueryableExtensions.xml

Document Version Independent Id

13cac8b0-625e-1b34-73a1-b52c74ababf6

Platform Id

ddcc1995-2e3f-8327-528d-cfef3e40ca6c

Article author

@dotnet-bot

miksh7 avatar May 14 '25 18:05 miksh7