I\'m working on a record-level security system for a LINQ-to-SQL app.I currently have a wrapper around the DataContext\'s GetTable method that joins T to a user cross-reference table.T is any class th
I have some methods in my BLL that fetch some records from database and pass it to UI for binding to Data Controls such as Gridview or ...
I know this could be opinion, but I\'m looking for best practices. As I understand, IQueryable<T> implements IEnumerable<T>, so in my DAL, I currently have method signatures like the foll
How do you loop through IQueryable and remove some elements I don\'t need. I am looking for someth开发者_如何学Going like this
I have four tables in my database and i want to join that\'s and return record\'s and show that 开发者_运维技巧into searchController!
I\'m chaining search criteria in my application through IQueryable extension methods, e.g.: public static IQueryable<Fish> AtAge (this IQueryable<Fish> fish, Int32 age)
I have been using these common EntityObjectFilters as a \"pipes and filters\" way to query from a collection a particular item with an ID:
Here is my repository method which returns UserId , public IQueryable<int> getLoginStatus(string emailId, string password)
I\'m trying to decide on the best pattern for data access in my MVC application. Currently, having followed the MVC storefront series, I am using repositories, exposing IQueryable to a service layer,
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be preferred over the other?