标签: generics ienumerable
我正在努力实现以下目标,是否有可能?
Type T = Type.GetType("EntityName") IEnumerable<T> entities = BaseRepository.GetEntities(searchCriteria) as IEnumerable<T>();