How can i dynamically get a list of Colum开发者_StackOverflow社区n names based on my query model below using Linq to SQL. Example of query below.
After using a global Linq to SqlDataContext and having unwanted inserts, I decided to use a detached methodology. I did this through a methods class that serves as a abstraction layer from my buisness
When I try to run the following code I get a Conversion from string \"\" to type \'Integer\' is not valid. error.
I wonder if someone could provide a simple example of the following. (preferably in VB.Net): I have an SQL database with related tables and I am successfully using LINQ to SQL in other areas of my ap
I\'m having a linq to sql schema with a entity \"Customers\" as well as \"Reports\". Each customer has zero or more reports.
I try to pull some data and insert it into a gridview. But I must be doing something wrong since I can only select a single column. If I try to get both first and lastname then they will just be inser
I want to create a DDD repository that returns IQueryable Entities that match the Linq to SQL underlying classes, minus any relations.I can easily return Entities minus the relations with a Linq selec
I would like to run a LINQ query like this: var words = from p in db.Words where p.Document.Corpus.Name == corpus
I have been using LINQ to query my POCO objects for some time, but I have not yet tried LINQ to SQL. I assume that LINQ to SQL queries are somehow converted to equivalent SQL queries and, given this,
Suppose I have linq expression q, then I want to add a sort to this query: q = q.OrderBy(p => p.Total);