Skip to main content

Questions tagged [linq]

Language Integrated Query (LINQ) is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages, although ports exist for Java, PHP, JavaScript and ActionScript.

3 votes
4 answers
720 views

We are producing configuration files for a production system. The configuration files have a dynamic set of variables. Optional values and other values that only need to exist based on other values. ...
Tormod's user avatar
  • 379
-1 votes
2 answers
483 views

My question to the community is this: What makes C#'s LINQ Unique from other query language in other languages and frameworks, or does it not have anything to make it unique at this point? ...
Kayden Miller's user avatar
1 vote
1 answer
60 views

I have a 24 hour "sliding window" sequence of "start" and "stop" events in memory comming from an iOT device. I'm only interrested in finding "stop" events followed by "start" events in order to ...
user avatar
0 votes
0 answers
195 views

My team has recently decided to adopt the CQRS pattern similar to the one used in the famous Microsoft EShopsOnContainers repository. In this solution, the queries are made in Query classes using ...
Josh L's user avatar
  • 103
2 votes
0 answers
74 views

A1 |__A2 |__A3 |__A4 |__A5 B1 |__B2 |__B3 |__B4 |__B5 C1 |__C2 |__C3 |__C4 |__C5 Given a list of A and a list of B, we want to "join" the ...
bitshift's user avatar
  • 207
43 votes
13 answers
31k views

When you create an extension method you can, of course, call it on null.But, unlike an instance method call, calling it on null doesn't have to throw a NullReferenceException -> you have to check and ...
thisextendsthat's user avatar
20 votes
6 answers
4k views

This is a known pitfall for people who are getting their feet wet using LINQ: public class Program { public static void Main() { IEnumerable<Record> originalCollection = ...
Panzercrisis's user avatar
  • 3,213
2 votes
4 answers
219k views

Say I have a LINQ query like this: application = CreditDatabase .Applications .Select(Mapper.Map<Application>) .Where(c =...
w0051977's user avatar
  • 7,139

15 30 50 per page
1
2 3 4 5 6