Efcore.pg: FromSql raw query .NET Core 2.1 seams is not supported

Created on 19 Jun 2018  路  2Comments  路  Source: npgsql/efcore.pg

When I try to execute simple query using FromSql I am getting this error:

This overload of the method 'Microsoft.EntityFrameworkCore.RelationalQueryableExtensions.FromSql' is currently not supported

Not sure what is going on?

Most helpful comment

@austindrenski My bad. I run it on inMemory instance of EF in unit test not on real database. Totally forgot it. I will close this ticket.

All 2 comments

@radenkozec Can you provide a minimal and reproducible example of this behavior?

@austindrenski My bad. I run it on inMemory instance of EF in unit test not on real database. Totally forgot it. I will close this ticket.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

austindrenski picture austindrenski  路  5Comments

newbiecse picture newbiecse  路  4Comments

macon picture macon  路  4Comments

guoyongchang picture guoyongchang  路  3Comments

fernandolguevara picture fernandolguevara  路  3Comments