>>>> >>>>RetVal = items.Count==0 ? null : items[0];>>>
>>>List<RuleAction> items = query.ToList(); >>>>>Oh. I thought you said the last line :-}
>What does <RuleAction> mean in this syntax List<RuleAction> Is it some type?A generic list. ie. a list that only contains objects of type RuleAction.....