S
shapper
Hello,
I am working on a few repositories ...
I think when using repositories an IEnumerable should be returned
instead of IQueryable or IList, correct?
As far as I know, when using repositories, all the queries should be
placed inside the repositories methods and return only the
IEnumerable ...
Probably in terms of performance is also better.
Am I wrong?
Thanks,
Miguel
I am working on a few repositories ...
I think when using repositories an IEnumerable should be returned
instead of IQueryable or IList, correct?
As far as I know, when using repositories, all the queries should be
placed inside the repositories methods and return only the
IEnumerable ...
Probably in terms of performance is also better.
Am I wrong?
Thanks,
Miguel