We have two entities, User and Person.
public class User
{
public int Id { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public int PersonId { get; set; }
public Person Person { get; set; }
}
and
public class Person
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
Every user has a person, but not every person has a user.
I would like to retrieve all the persons, that aren't assigned to a user. Is there a way to do this using breeze.js?
I can't find anything on using subqueries with Breeze, but I imagine there should be some sort of 'in' clause or some way to use/make a subquery