public static IQueryable <Core2Group> CompleteGroups(this ScimContext context) { if (!context.Groups.Any()) { return(context.Groups); } return(context.Groups.Include(g => g.Metadata) .Include(g => g.Members)); }
public static IQueryable <Core2User> CompleteUsers(this ScimContext context) { if (!context.Users.Any()) { return(context.Users); } return(context.Users.Include(u => u.Metadata) .Include(AttributeNames.AttributeName) .Include(AttributeNames.AttributeEmails) .Include(AttributeNames.AttributePhones) .Include(AttributeNames.AttributeRoles) .Include(AttributeNames.ExtentsionValues) .Include(AttributeNames.AttributeAddresses)); }
public FilterGroups(ScimContext context) { this._context = context; }
public FilterUsers(ScimContext context) { this._context = context; }