Using the generic type 'System.Collections.Generic.IEnumerable<T> ' requires 1 type arguments>Guessing here:
>> public class MyBizClass >> { >> private CornMazeYellowPagesEntities oEFobject = null; >> public MyBizClass() >> { >> this.oEFobject = new CornMazeYellowPagesEntities(); >> } >> >> public Enumerable getDirectory() >> { >> //CornMazeYellowPagesEntities queryobj = null; >> var queryobj = from dr in this.oEFobject.DIRECTORies.AsEnumerable() >> select new >> { >> dr.ADDRESS1, >> dr.ADDRESS2, >> dr.CITY, >> dr.COMPANYNAME >> }; >> >> //queryobj = >> // from dr in this.oEFobject.DIRECTORies >> // select dr; >> >> return queryobj; >> } >> } >>