Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged LINQ

0 votes
498 views
1 answer
    How can the linq statement here be altered so that it finds the company(s) containing the user with the substring of ... third")).ToList(); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
549 views
1 answer
    my database field int_ParentId consist of a Null value . how would i check it for a null in this linq query . it ... m => m.int_ParentId==null); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
641 views
1 answer
    In various database tables I have both a property and a value column. I'm using Linq to SQL to access the ... blind and use a screen reader). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
557 views
1 answer
    I have an Enumerable<T> and am looking for a method that allows me to execute an action for each element, ... but it wasn't printing anything. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
707 views
1 answer
    I have one queryable where I have used various Where and WhereBetween statements to narrow the collection down to a ... me some pointers here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
533 views
1 answer
    I have a scalar-valued function in my sql database. I receive this error when importing this function into Entity ... ,2))) return @Result END See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    I am trying to set up a simple transaction for my Linq-to-Sql actions against my Sql 2000 database. Using ... server and on my client machine. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
408 views
1 answer
    Question I'm sure many of you have been faced by the challenge of localizing a database backend to an ... , would be very apprechiated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    So here I am just about to start a big project using LINQ to SQL and then I read this: Is LINQ to ... learning about ADO.NET Entity Framework? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
843 views
1 answer
    How query only those users whose Itemcount > 10 from the complex nested object(with dynamic key) from comosdb using sql api? ... "6454" } } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
542 views
1 answer
    I have created a WEB API using MySQL Database. The API works as expected for now. I sent a meter serial ... help would be highly appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
583 views
1 answer
    If I have a model that looks like this: and I do a Linq to Entities query like this: var c = ... the unnecessary complexity of this query. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
661 views
1 answer
    I have two List, both of different lengths. What I am trying to achieve is a third List that contains the first element ... ", "4070", "4072" }; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    I always seem to have a problem when I need to compare 2 list and produce a 3rd list which include all unique items ... Category { get; set; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    In a related question, my team is about to (hopefully) start using LINQ, and I'd like to take advantage ... and the new Option Infer directives? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
471 views
1 answer
    I'm trying to access an existing database via the Microsoft.FSharp.Data.TypeProviders.SqlDataConnection type. There are ... from a temp table. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
710 views
1 answer
    I recently found when I do a LINQ select under a field that contains an apostrophe, it makes my application to ... it or remove it, please? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
652 views
1 answer
    I've read ALL of: Unable to create a constant value of type 'System.Object' in Entity Framework Entity Framework - ... I get my query to work. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
570 views
1 answer
    I need to convert some SQL statement to LINQ. How convert LEFT OUTER JOIN to equivalent LINQ statement? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
775 views
1 answer
    I've been trying to insert row in the table having an identity column RequestID (which is primary key as well) ... the trick, does anybody know? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    Do you have a default type that you prefer to use in your dealings with the results of LINQ queries? By default ... codebase. What do you do? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    C# | .NET 4.5 | Entity Framework 5 I have a class in Entity Framework that looks like this: public class ... Thanks for all of the help! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
794 views
1 answer
    I happened to have seen some code where this guy passed a lambda expression to a ArrayList.Sort(IComparer here) ... you. Nice, though. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    I have an OData service where I'm trying to filter by a list of IDs; the SQL equivalent would be something ... "or media_id eq 100" clauses? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
682 views
1 answer
    How can I write a linq to entities query that includes a having clause? For example: SELECT State.Name, Count(*) ... StateID HAVING Count(*) > 1 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    We're having some issues implementing soft delete functionality with entity framework. The idea is to use a ... Navigation property /// </summary> public class InjectConditio...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
646 views
1 answer
    I was wondering if there is any way to implement pagination in C# against DocumentDB with, or without, their ... and pageSize in the request? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
955 views
1 answer
    I have: Dictionary<int, List<int>> dict = new ... var a = SomeEntity.Where(f => dict[f.key].Contains(f ... linq to EF or am I missing something? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...