Windows Oracle Data Access Components (MOSC)

MOSC Banner

Oracle.EntityFrameworkCore 8 bind variables

Hi, I use Oracle.EntityFrameworkCore 8 with oracle 19.21 or 19.23 (I don't remember) server, My code looks like:
public IQueryable<M> FindByCondition(Expression<Func<M, bool>> expression, bool trackChanges)
{
return !trackChanges ?
RepositoryContext.Set<M>().Where(expression).AsNoTracking() :
RepositoryContext.Set<M>().Where(expression);
} when I call that by parameter, the parameter is not bind variable, it looks literal, Help me please how can I use bind variables, a lot of code call this function

thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center