Example #1
0
        public IEnumerable <object> Search(string filter)
        {
            var filterDefinition = GetFilterDefinition(_typer.GetObjectReference(), filter);

            return(GetCollection(_typer.GetObjectReference()).Find(filterDefinition).ToEnumerable());
        }
Example #2
0
 public IEnumerable <object> GetActives()
 {
     return(GetContextSet(_typer.GetObjectReference() as IDeactivated).Where(x => x.Active));
 }