Skip to content

EF.Functions.ILike does not work with InMemoryDatabase #267

@olivierr91

Description

@olivierr91

EF.Functions.ILike does not work as expected with InMemoryDatabase:

dbContext.Users.Add(new User("username"));
dbContext.Users.Where(u => EF.Functions.ILike(u.Username, $"%username%")).Count(); //=> 1
dbContext.Users.Where(u => EF.Functions.ILike(u.Username, $"%useRname%")).Count(); //=> 0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions