Click here to Skip to main content
16,021,112 members

Rupesh Kumar Sahu - Professional Profile



Summary

    Blog RSS
-38
Authority
2
Debator
0
Enquirer
45
Organiser
484
Participant
0
Author
0
Editor
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralWhat are the differences between IEnumerable and IQueryable? Pin
Rupesh Kumar Sahu22-Feb-18 22:45
Rupesh Kumar Sahu22-Feb-18 22:45 
IEnumerable:
It is the parent interface for all non-generic collections in System.Collections namespace like ArrayList, HasTable etc. that can be enumerated. For the generic version of this interface as IEnumerabel<t> which a parent interface of all generic collections class in System.Collections.Generic namespace like List<> and more.

Some key points should know:
1. It belongs to System.Collections namespace.
2. It is the best way to write query on collections data type like List, Array etc.
3. It is the return type for LINQ to Object and LINQ to XML queries.
4. It doesn't support lazy loading. So it's not a recommended approach for paging kind of scenarios.
5. Extension methods are supports by IEnumerable takes functional abjects for LINQ Query's.

IQueryable:
IQueryablel interface is intended for implementation by query providers. It is only supposed to be implemented IQueryable<t>, the standard query operators cannot be used on the provider's data source.

The IQueryable interface inherits the IEnumerable interface so that if it represents a query, the result of that query can be enumerated.

Some key points should know:
1. It belongs to System.Linq namespace.
2. It is the best way to write query data like remote database, service collections.
3. It is the return type of LINQ to SQL queries.
4. It support lazy loading so we can also use in paging kind of scenarios.
5. It implements IEnumerable so indirectly it's also supports Extensions methods.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.