iqueryable
LINQ to Entities - limiting included tables
Using two tables with a one to many relationship (such as Make -> Model), how do I return a Make with limited Model children in an IQueryable function?[详细]
2023-01-09 12:25 分类:问答Query that gets only the records needed to the page using LINQ
I want to use LINQ\'s IQueryable th开发者_Go百科at gives me the query that gets only the records needed to the page based on the page size I have given.[详细]
2023-01-08 15:43 分类:问答Expanding properties for an IQueryable query
I have the following fictional domain classes: public class Pony { public string Name { get; set; } public DateTime FoundDate { get; set; }[详细]
2023-01-08 07:39 分类:问答Passing the model in a view back to an action
I am wondering how I can pass a model back to an action so that I can continue to work on the data but in a different action based on the button\'s pressed[详细]
2023-01-07 18:09 分类:问答Expose a repository as an IQueryable
I\'d like to expose a Repository as an \'IQueryable\' type. The repository uses Linq to NHibernate to communicate with the database.[详细]
2023-01-06 22:37 分类:问答How to check if a method return an Iqueryable returns anyhting
In my ASP.NET MVC 2 C# web app I have a repository that contains method that returns an Iqueryable. My controller calls this, handing over some variables to it so it an run a linq to sql query.[详细]
2023-01-06 10:20 分类:问答Access DataContext behind IQueryable
Is it possible to access t开发者_高级运维he DataContext object behind an IQueryable? If so, how?DataContext is specific to LINQ to SQL, so presumably you\'re talking about LINQ to SQL queries? If so[详细]
2023-01-06 08:07 分类:问答LINQ: Call Stored Procedure and Join its results with IQueryable
I have: a stored procedure which retrieves zip codes in a radius around another zip code a table with contacts[详细]
2023-01-06 08:04 分类:问答Convert Linq To Sql with JOIN to IQueryable select
I have a function called GetUserByOpenId I don\'t want to be using this function at all Public Function GetUserByOpenID(ByVal claimedidentifier As String) As User Implements IUserRepository.GetUserBy[详细]
2023-01-05 21:27 分类:问答LINQ TO SQL - Skip/Take not working as expected
I\'ve got an IQueryable repository (admittedly this is the first time I\'ve tried this) and I can\'t seem to get it to pull the correct data using Skip(1).Take(1)[详细]
2023-01-05 10:36 分类:问答
加载中,请稍侯......