protected override InlineCountQueryPart Parse(string parameterValue) { InlineCountType countType; if (Enum.TryParse(parameterValue, true, out countType) == false) { throw new ArgumentException(String.Format("'{0}' not recognized as an inline count type.", parameterValue)); } return(ODataQueryPart.InlineCount(countType)); }