linq-to-objects
LINQ 2 OBJECTS - how to select distinct ones?
I have a collection of objects which are: someDate someString I need to select objects that are different by this two fields.[详细]
2023-03-23 11:14 分类:问答Whats the 'modern' way to find common items in two Lists<T> of objects?
I have two Generic Lists containing different types, for the sake of example, lets call them Products and Employees. I\'m trying to find Products that are based at the same location as Em开发者_Python[详细]
2023-03-23 11:05 分类:问答how to group many rows into one row?
I got something like this: int, string ------------ 1, \'test1\' 1, \'test2\' 2, \'test1\' 2, \'test2\' 2, \'test3\'[详细]
2023-03-23 08:37 分类:问答convert linq to object query to sql query (no linq to sql code or datacontext)
How can i convert linq to object query or any other Func delegate to string like sql statements for example[详细]
2023-03-22 18:56 分类:问答Intellisense in linq projection after group by
I have a Collection<IStatements> statements which has public interface IStatements { IDocuments Documents { get; set; }[详细]
2023-03-22 01:50 分类:问答Feed a LINQ result into a DataROW
This works: var Result = from e in actual.Elements select new { Key = e.Key, ValueNumber = e.Value.ValueNumber,[详细]
2023-03-21 23:12 分类:问答How do we use a LINQ query on a Dictionary with a nested object?
What I am ultimately trying to do is bulk insert the values from a dictionary into the database. He开发者_Go百科re is how my dictionary is setup:[详细]
2023-03-21 16:09 分类:问答LINQ - Map string arrays to list of objects
How do I map string arrays to a list of objects?A for loop would do it but wondering if there\'s a more elegant way to do this?Perha开发者_运维问答ps with Linq?[详细]
2023-03-21 09:30 分类:问答Using LINQ-to-objects to create a DataTable from a collection
In my VB.NET code, I have something like this: A collection of clsEmployees, which is made up of clsEmployee objects.[详细]
2023-03-21 06:52 分类:问答.NET Linq to Objects strange behavior
I\'ve got a BadImageFormatException error in this little code below. I know it isn\'t good practice to write a program in this way but it seems to be a bug in .NET Framework, not in my code.[详细]
2023-03-20 22:03 分类:问答
加载中,请稍侯......