> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# csharp-ef-from-sql-raw

> FromSqlRaw or ExecuteSqlRaw receives a concatenated or interpolated string, risking SQL injection.

## What it flags

`FromSqlRaw` or `ExecuteSqlRaw` receives a concatenated or interpolated string.

## How to review or fix

Use `FromSqlInterpolated` or bind parameters.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "csharp-ef-from-sql-raw": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.