Get from IQueryable to IEnumerable
问题 this should be a quick one for all you f# rockers, but it's got me stuck at the moment. I've got an F# type which I'm trying to get to implement a c# interface public interface ICrudService<T> where T: DelEntity, new() { IEnumerable<T> GetAll(); } here's how it's implemnted in c#: public IEnumerable<T> GetAll() { return repo.GetAll(); } repo.GetAll returns an IQueryable , but the c# compiler knows enough to convert to IEnumerable because IQueryable<T> : IEnumerable<T> . but In F# the compiler