I am trying to achieve following, is it possible?
Type T = Type.GetType("EntityName")
IEnumerable<T> entities = BaseRepository.GetEntities(searchCriteria) as IEnumerable<T>();
I am trying to achieve following, is it possible?
Type T = Type.GetType("EntityName")
IEnumerable<T> entities = BaseRepository.GetEntities(searchCriteria) as IEnumerable<T>();