linq-to-objects
LINQ get objects by date interval
I\'m looking for a LINQ query that will select only those objects whose date interval is not higher than 20 seconds. For example:[详细]
2023-02-27 00:02 分类:问答how I can obtain objects from a generic list with Linq where properties of objects = xyz grouping by another property
I\'m learning Linq. I not sure how I can select data from a generic list. in the next pseudo-code example, I like to group into a new class by \"data\", making a list of \"type\", and selecting id (s[详细]
2023-02-26 20:26 分类:问答Converting VB Linq to C#
I\'m in the process of teaching myself C# by converting an existing project and am stuck converting the following vb linq code:[详细]
2023-02-25 11:11 分类:问答Like operator in LINQ to Objects
I\'m trying to emula开发者_JAVA技巧te the LIKE operator in LINQ to Objects. Here my code: List<string> list = new List<string>();[详细]
2023-02-25 08:54 分类:问答Compare column against valid values
I have 2 datasets ds1 an开发者_如何学编程d ds2 ds1 contains valid values used in ds2 for e.g. ds1 contains subject table containing Maths, Science, History.[详细]
2023-02-24 00:06 分类:问答NoSQL vs Linq To Objects for asp.net mvc
Is there any advantage to using a NoSQL database of some sort as opposed to just keeping a big object cache in HttpCache and using linq to objects to query stuff?[详细]
2023-02-22 17:37 分类:问答Linq dynamic queries for user search screens
I have a database that has a user search screen that is \"dynamic\" in that I can add additional search criteria on the fly based on what colum开发者_开发知识库ns are available in the particular view[详细]
2023-02-22 11:04 分类:问答Using LINQ to get all the records in a table having the same value in a specific column
I am trying to get all the rows in a table having the same value in a column. I got it working by using group by:[详细]
2023-02-22 05:25 分类:问答LINQ: Calling a Method from within linq?, my method returns an anonymous type
Can anyone help. I have the following as part of a LINQ, its working but the object MyObject returns an anonymous type. (I checked it in debug mode)[详细]
2023-02-21 23:02 分类:问答LINQ-to-objects, get value from dictionary
I have an on object, called user, that has a property of type dictionary called AttributeBag. I want to pull out the Key in the AttributeBag of \"PasswordQuestion\" and get its value.[详细]
2023-02-21 04:18 分类:问答
加载中,请稍侯......