-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Let say we have a DbSet that have model like so
public class User {
public int Id { get; set; }
public int UserName { get; set; }
public DateTimeOffset? SendMoneyAt { get; set; }
[Projectable]
public bool IsBacker => SendMoneyAt != null;
}When we try a query like
var backerUsers = DbSet<User>().Where(u => u.IsBacker);
var usersWithLetterA = DbSet<User>().Where(u => u.UserName.Contains("A")).Select(u => u.Id);
var backerUsersWithLetterA = backerUsers.Where(u => usersWithLetterA.Contains(u.Id));The query of backerUsersWithLetterA cannot be translated.
Is this a bug or a some limitation?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working