iqueryable
Record-level Security in LINQ-to-SQL
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[详细]
2023-01-05 01:40 分类:问答IQueryable<t> Or IList<t>
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 ...[详细]
2023-01-04 09:34 分类:问答Should I return IEnumerable<T> or IQueryable<T> from my DAL?
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[详细]
2023-01-03 22:26 分类:问答LINQ: How to remove element from IQueryable<T>
How do you loop through IQueryable and remove some elements I don\'t need. I am looking for someth开发者_如何学Going like this[详细]
2023-01-01 07:20 分类:问答how to rotate around each record in linq and show that in view
I have four tables in my database and i want to join that\'s and return record\'s and show that 开发者_运维技巧into searchController![详细]
2023-01-01 03:06 分类:问答Chain LINQ IQueryable, and end with Stored Procedure
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)[详细]
2022-12-31 16:34 分类:问答Will my LinqToSql execution be deffered if i filter with IEnumerable<T> instead of IQueryable<T>?
I have been using these common EntityObjectFilters as a \"pipes and filters\" way to query from a collection a particular item with an ID:[详细]
2022-12-31 12:59 分类:问答[Linq-To-Sql]How to return two values of different datatypes?
Here is my repository method which returns UserId , public IQueryable<int> getLoginStatus(string emailId, string password)[详细]
2022-12-30 22:28 分类:问答Should repositories expose IQueryable to service layer or perform filtering in the implementation?
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,[详细]
2022-12-30 22:27 分类:问答Returning IEnumerable<T> vs. IQueryable<T>
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be preferred over the other?[详细]
2022-12-30 20:48 分类:问答