LINQ to SQL announcement
-
Link
Welcome to the forum for discussing LINQ to SQL. A few suggestions:
- Make the subject line specific - "I'm stuck", "HELP" or "This query doesn't work" could easily mean somebody with the answer skipped it.
- Be polite when asking and responding to questions - we're all here to try and help each other
- When you have an answer please remember to mark it as such so people can filter down on who's still stuck and find answers to their problems
There are a few useful resources you also might want to check out:
- MSDN Getting Started & Programming Guide
- Cheat sheet for C# and VB.NET (PDF)
- Customized code-generation templates
- List of additional LINQ to SQL resources
Some other forums that might be of help:
Filter
:
All Threads
All Threads
Answered
Unanswered
Proposed Answers
General Discussion
No Replies
Helpful
Has Code
All Languages
-
Unanswered0VotesIntercepting query in DbContext
{ return base.SaveChanges(); }); } This way I don't have to make code changes throughout my project ... -
Answered0VotesEF5 Auto-incrementing Ids on demand
Hi. When I have an entity model with an Id(int), Entity Framework can(and by default will) automatically generate that Id for me. class ... -
Answered0VotesFilter a query within the select statement. ie. where clause in select.
I have this linq query: var sku = (from a in con.MagentoStockBalances join b in con.MFGParts on a.SKU equals b.mfgPartKey ... -
Unanswered0VotesMODELING OF BANK
Hello everybody! First of all I apologize if you are not posting in the right place. Well, I'm developing an application for college, I need ... -
Answered0Votesthree tables with linq
How do I create a query that, passing a variable "var_lot", tell me in which pieces is such a "var_lot"? I have a table "Warehouse" with purchases of ... -
Unanswered0Votes[Ask] How to create auto id number using date and yearly format
Dear All, I want create auto id number using date and year format, that if changing year, then auto id number will be automatic reset. example case : ID Number : ... -
Unanswered3VotesClass with List from query (LINQ to Sql)
Hello, I have this class: private class grupo { public string NomeGrupo { get; set; } public string Cidade { get; ... -
Answered0VotesHow to use linq to entities queries or Lists in linq to sql queries
a.Vehicles.Where(v => bodyTypesFilter.Any(b => b == v.BodyType)).Count() > 0); I include only the important part of lambda expression. Here bodyTypesFilter is a List and ... -
Answered0Voteslinq to sql add extra column to table
In a C# 2008/2010 desktop application, it uses linq to sql to point to a sql server 2008 r2 database. I was told by the analysis group that a new column will be added in the middle ... -
Answered0Voteslinq to sql for sql server 2008 r2 uses some default settings
In a C# desktop application, I am using linq to sql to connect to a sql server 2008 r2 database. The applicatiion is setup to point to various databases depending upon the value in the app.config ... -
Answered0VotesWPF Page Level Context
= InvoiceDate && g.GSTEnd <= InvoiceDate select g).FirstOrDefault(); ... -
Answered0VotesLambda expression ForEach does not work properly
Hi people. Assuming that AddedTareas return a List of my entities, I want to set the state of each entity to Added. This code works fine ... -
Unanswered0VotesExcept Extension - Translate to VB.NET
Hi. Someone can help me to convert this extension for the except method to VB.NET. I've tried several online translators but all conversion are ... -
Answered3VotesAdd function to linq
Hi I trying to make DAL project for my database, I thought of doing it this way (northwind database) Partial Class ... -
Answered0VotesCan any one help me convert this SQL query to a Linq Query?
Can some one let me know how to convert this to linq? SELECT CAL.thisDate as OrderDate,[orderID],[customerName],[street],[phone],[city],[state],[postal],[country] ... -
Answered1VotesLINQ select distinct c#
I'm trying to do a query that does not include repeated IdUser values, but does not work. this is my linq ... -
Answered0VotesHow do I combine to two lists using LINQ
Hi, I have two lists of people i.e. List<Person>. I want to have a final list that will have each unique person from both list A and list ... -
Unanswered0VotesAbout Visual Basic Linq to SQL ON Windows Phone
Dear All, I have a question about using vb linq to sql on windows phone, I want to handle local database, and I create a table 'Contacts', it has three ... -
Answered2VotesLinq: Left join returning empty data from matching table
g.CreatedAt).FirstOrDefault()) on e.ActivityNumber ... -
Answered0VotesGroup Join child column value when no child column row
Private Structure structGetServiceServiceRowsOpenWithServiceQueueIDPriorityStructureGroupJoin Dim Status As String Dim ServiceGroup As String Dim ... - Items 1 to 20 of 4308 Next ›


