public static IEnumerable<IInternalState> GetByType(string type) { return new AdfQuery() .Select() .From(SmartReferenceDescriber.Table) .Where(SmartReferenceDescriber.Type).IsEqual(type) .OrderBy(SmartReferenceDescriber.Description).Ascending() .RunSplit(DataSource); }