public IEnumerable <object> Search(string filter) { var filterDefinition = GetFilterDefinition(_typer.GetObjectReference(), filter); return(GetCollection(_typer.GetObjectReference()).Find(filterDefinition).ToEnumerable()); }
public IEnumerable <object> GetActives() { return(GetContextSet(_typer.GetObjectReference() as IDeactivated).Where(x => x.Active)); }