score:0
(from a in dbconn.table1
select new
{
col1= a.col1,
col2= a.col2
}).tolist();
Source: stackoverflow.com
Related Query
- Linq MVC5 MSQL select some columns from a table containing larg amount of columns in order to make better and fast query
- Select two columns from the table via linq
- LINQ to SQL join two tables to select parent table twice based on two different columns from child table
- How to Select from table records except some columns
- select sum columns from diffrent table using linq
- how to select columns from two table with where using linq
- Linq to select data from one table not in other table
- Which LINQ query to select rows from 1 table that are not in another table
- How to select all columns plus a custom one from table by using EF LINQ?
- How to select column from child table in linq
- Linq issue select Sum of one column minus another from different table
- Linq from TABLE select *
- How to select multiple columns from dataset into a string list with LinQ
- Select Distinct Row from Data Table with Dynamic Columns
- How to Select subset of columns from SingleOrDefault LINQ query in EF
- LINQ Query To Join Two Tables and Select Most Recent Records from Table B corresponding to Table A
- How to select multiple columns from datatable in linq group by?
- Combining two datatable and getting the amount from second table by using linq
- LINQ select from table where fieldValue is in another tables list of values
- Fetching only required columns from table using LINQ to modify and save record gives a typical error
- how to get all columns name from multiple table in a dataset by LINQ
- Linq to sql - Join 2 tables, select 1 row from right table with a 1 to many relationship
- VB.Net Linq with datatables - select from one table what does not exist in the other
- How to select the max date from table in c# linq query
- LINQ Lamba Select all from table where field contains all elements in list
- LINQ to SQL select exact matching record from many to many table
- Concatenate columns from joined table with LINQ
- C# Linq with datatables - select from one table what does not exist in the other
- Using Linq to select x amount of objects from an observable collection
- Linq select from database table where matching property from List
More Query from same tag
- Unknown column 'Project2.Name' in 'where clause'
- Implement "not in" (aka "not exists") logic in LINQ
- Linq compare datetime values
- LINQ query needed using a conditional operand in the WHERE clause
- Combining LINQ with OData AddQueryOption
- Unable to create a constant value of type 'LookupObject'. Only primitive types or enumeration types are supported in this context
- Entity Framework lazy load
- How to get Average rating in entity framework
- Loading concrete child types based on abstract parent properties via LINQ
- Is this a spurious warning when using LINQ to SQL?
- Unable to cast object of type 'System.Data.EnumerableRowCollection`1[System.Data.DataRow]' to same type
- Resharper claims expression is always false using LINQ Aggregate with seed
- Repository Pattern Access Multiple Tables?
- How to get group of records with latest date using Linq to Entities
- LINQ - Buidling a search query
- Compare column against valid values
- Benefits between .ToList().First() verse .Single for IQueryable in c#
- Not able to understand LINQ extension methods
- Which one to use; Datatable.Select() or LINQ?
- Linq on windows phone
- How do I convert this LINQ query expression from C# to VB.NET?
- Get First Single matched element or First if there's no match?
- IQueryable extension to group dynamicly by minutes ...and other
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderException Error
- LINQ PredicateBuilder multiple OR starting with PredicateBuilder.True<>
- How do I use Linq-to-sql to iterate db records?
- Lexicographical sort algorithm using C#
- How can I pass an entity property as a parameter of a LINQ Expression?
- Making a custom class IQueryable
- Combine two queries in linq