iqueryable
How can I get the MethodInfo of Queryable.Join
This may sound stupid but I cannot get the MethodInfo of Queryable.Join(...). I want to get it because of How to use a Type variable in a generic method call (C#)[详细]
2023-04-12 21:24 分类:问答.NET Entity Framework - IEnumerable VS. IQueryable
Please see this line of code. This is an invocation of a stored procedure, which returns an ObjectResult<long?>. In order to extract the long values I added the Select:[详细]
2023-04-09 19:11 分类:问答Something confusing about IQueryable<T>.GetEnumerator
public class Query<T> : IQueryable<T> ... { ... public IEnumerator<T> GetEnumerator()[详细]
2023-04-07 20:49 分类:问答IQueryable<T> Question
Cur开发者_运维问答rently I return everything from my Repo as a List. I am looking to change these to IQueryable just so people can refine the results and not suffer from another sql request(I am using[详细]
2023-04-06 20:41 分类:问答What would you put into the unit test of a repository class (data access layer)?
I\'d like to write a unit test for my data access layer to make sure that everything works allright in it.[详细]
2023-04-05 11:32 分类:问答Serialize iqueryable
I have an ascx user control with and Entity Framework IQueryable property like this: public IQueryable<Category> DataSource[详细]
2023-04-05 01:43 分类:问答Query Object's elements in c#
I have a problem when i try to ret开发者_高级运维rieve query results from object in c#. I did a linq query that return object element and the i wanna get all elements value in c# (server side)...[详细]
2023-04-01 20:20 分类:问答Fine-grained control of deferred execution when implementing IQueryable<T>
I am implementing IQueryable, and so far have only implemented an expression visitor for \'Where\' calls and everything else is currently unsupported. The expression is translated into native T-SQL. I[详细]
2023-03-31 09:56 分类:问答IQueryable ToList() seems to lose the ordering
I\'ve an EF4 model and a method to get paginated items (Anagrafica entity) from the model, something like (simplyfied):[详细]
2023-03-31 05:58 分类:问答How to translate the following SQL to Linq?
I am using IQueryable<T> interface. How can I translate the follow开发者_如何学运维ing sql statement to IQueryable?[详细]
2023-03-29 14:23 分类:问答