Skip to content

Missed code example #5026

Description

@miksh7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions