score:3
Accepted answer
You can try
pQuery = pQuery.Select(e => new EntityResult {
ShortDescription = e.ShortDescription
});
I'm pretty sure that this won't select the other columns.
Source: stackoverflow.com
Related Articles
- How to clear default select clause on IQueryable resultset
- How to provide default values in select clause of a query in LINQ to NHibernate
- LINQ where clause using Generic IQueryable source
- Linq code to select one item
- How to select array index after Where clause using Linq?
- lambda expression join multiple tables with select and where clause
- How to select last record in a LINQ GroupBy clause
- A query body must end with a select clause or a group clause why is here an error?
- Why C# LINQ expressions must end with Select or Group By Clause where as no such restriction in VB.Net
- Default value for linq select item if query didn't return anything
- Using Function in Select Clause of Entity Framework Query
- LINQ Query - How to map a resultset into another object using Select
- Adding a where/order by clause to an IQueryable
- SELECT AS in Linq with WHERE clause
- Building a dynamic where clause for dynamic keywords or using IQueryable C# Linq
- How to Use Effeciently Where Clause or Select in LINQ Parallel in Large Dataset
- How do I apply a default IComparable<T> in a Linq OrderBy clause
- Execute expression on another IQueryable source
- LINQ Source Code Available
- Where clause not working on LINQ IQueryable query
- Select clause containing non-EF method calls
- How to call a method in the where clause of a LINQ query on a IQueryable object
- How to negate a Where clause of an IQueryable
- Linq with where clause in many-to-many EF Code First object
- .NET 4 Code Contracts: "requires unproven: source != null"
- Mapping IQueryable where clause from DTO to Entity
- Efficiently select random rows from large resultset with LINQ (ala TABLESAMPLE)
- Creating a dynamic Linq select clause from Expressions
- How to get the where clause from IQueryable defined as interface
- Is there any default order in which where clause in LINQ query filters sequence
- LINQ get max of Amount but return name
- Filtering data from DB
- Passing a query directly through LINQ to the db
- Check if IEnumerable has ANY rows without enumerating over the entire list
- Extending LINQ to Nhibernate provider, in combination with Dynamic LINQ problem
- Filter with several nullable conditions an IEnumerable - List using lambda expressions
- How to get max sum range for specific time period from values in Dictionary
- Wrap a delegate in an IEqualityComparer
- How do I take the Cartesian join of two lists in c#?
- NHibernate - Select Random Number of Records with LINQ
- Split a string into an array
- Check for new items in an existing list LINQ/LAMBDA/C#
- Do I need to nullcheck when I am using two nullable properties in my orderby?
- LINQ to XML and LINQ to Objects syntax
- Using LINQ .Select and .Any in single line
- .NET 3.5 Linq Datasource and Joins
- How to load and add elements in an XML tree
- Random numbers in linq queries
- How to implement generic method approach using Linq and XML
- Calling .Distinct() on enumerables of enumerables