iqueryable
What do I need to access my own Database?
I need to write a specialized, embedded database for some .net Apps. The database开发者_StackOverflow part itself is no problem (as said, it\'s specialized), but the access to it from my .net code is.[详细]
2023-02-01 21:33 分类:问答Get all 'where' calls using ExpressionVisitor
I have a query, like such: var query = from sessions in dataSet where (names.Contains(sessions.Username))[详细]
2023-02-01 09:42 分类:问答Find points withing a radius of another coordinate with IQueryable
I have users stored in a database that has latitude and longitude set on them. I want to write a filter method in my service layer.[详细]
2023-02-01 07:15 分类:问答Where is EntitySet<T>'s "Results View"?
When looking at a linked EntitySet<T> of a LINQ to SQL mapped entity, I see the following: I\'d like to see the following (achieved by using the .AsQueryable() extension method) so that I can[详细]
2023-01-31 16:27 分类:问答When IQueryable returns no record ToList() throws an exception
dataContext.Geo_Countries.Where(c => c.Name.Contains(searchKey)).ToList<Geo_Country>(); when the IQueryable returns no records, I get a value null except开发者_StackOverflowion.[详细]
2023-01-31 04:39 分类:问答How to create Prepend extension method for IQueryable<T> which is compatible with Linq to Entities 4.0?
For a project using LINQ to Entities 4.0, I have a setting in which I need to return a query with a (constant) value prepended.If I were coding it in SQL it would look something like this:[详细]
2023-01-29 17:45 分类:问答LINQ: Field is not a reference field
I\'ve got a list of IQueryable. I\'m trying to split this list into an array of IQueryable matching on a certain field (say fieldnum) in the first list...[详细]
2023-01-29 02:55 分类:问答EF builds EntityCollection, but I (think I) want IQueryable
I have an entity A with a simple navigation property B.For any given instance of A, we expect several related thousand instances of B.[详细]
2023-01-27 21:39 分类:问答Should I always return IQueryable<> instead of IList<>?
I came across this post while I was looking for things to improve performance. Currently, in my application we are returning IList<> all over the place. Is it a good idea to change all of these[详细]
2023-01-27 03:59 分类:问答Implementing IQueryable.Count
I\'m working on an IQueryable provider. In my IQueryProvider I have the following code: public TResult Execute<TResult>(Expression expression)[详细]
2023-01-27 03:16 分类:问答