Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why IEnumerable
Message
From
09/11/2010 13:10:01
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Why IEnumerable
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01488625
Message ID:
01488625
Views:
107
Hi,
Digging through some code I came to this code definition for the EF ObjectSet class:
public class ObjectSet<TEntity> : ObjectQuery<TEntity>, IObjectSet<TEntity>, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable where TEntity : class {}
Since IQueryable implements IEnumerable I don't see why the latter is explicitly listed. Is it just superflous or am I missing some subtlety ?
Next
Reply
Map
View

Click here to load this message in the networking platform