dotnet / dotnet/EntityFramework.Docs

Missed code example

Open
#5,026 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

### Type of issue

Missing information

### Description

> This overload also accepts [DbParameter](https://learn.microsoft.com/en-us/dotnet/api/system.data.common.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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.