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 Query
- How to clear default select clause on IQueryable resultset
- How to provide default values in select clause of a query in LINQ to NHibernate
- How to select array index after Where clause using Linq?
- How to select last record in a LINQ GroupBy clause
- LINQ Query - How to map a resultset into another object using Select
- 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
- 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
- How to get the where clause from IQueryable defined as interface
- How to query by where clause with EF code first
- How can i use a where clause within a select statement in linq. (ie. on a property.)
- How to extract a where clause expression tree from IQueryable
- How to Select top (5) contributors group by Business type code in c# linq query
- How to add a where clause inside select query
- How to write aggregate query in LINQ reusing part of the select code
- LINQ where clause using Generic IQueryable source
- how to select data by linq in many-to-many relationship in First code Entity framework 5
- LINQ: How to perform an update like UPDATE <T> SET Update(<T>, <T>) SELECT FROM clause in LINQ?
- How to write C# LINQ code to select based on condition
- How can I add in a where clause to a select in LINQ?
- How do I resolve an error on Union within IQueryable Select statement
- how does the select clause associate each number to its string equivalent
- How to call a function inside a where clause of IQueryable
- how to use an expression in a select clause
- How to convert a string to C# code in the SELECT of C# LINQ
- LinqDataSource: How to assign IQueryable value to where parameters in code
- How can I rearrange the columns/fields in linq select clause
- Controller Where clause - how to select where not like
- How to combine select and group by clause with conditional where in Linq
More Query from same tag
- Analyzing queries by Entity Framework
- Update Entity through a new Object in LINQ to SQL
- passing linq select query to the method
- Adding Items to List using Linq
- Why is there no Linq method to return distinct values by a predicate?
- Is there a native LINQ way to return a typed collection in this example?
- How to apply order by to linq query?
- Filtering the result set of a LINQ query
- Inserting data in child table using Linq to sql (3 tier Architecture)
- How to filter Child entities in LINQ Include query?
- Entity Framework Core : how can I use DateDiff in Linq?
- Grouping/GROUP BY With LINQ in MVC
- Im facing Big performance impact on IEnumerable(LINQ) > List(RecyclerView)
- Combine two Convert Expressions
- LINQ Generic Query with inherited base class?
- LINQ Join Where Clause
- Inner queries in LINQ
- Will First() perform the OrderBy()?
- How to set the value to the first N elements of a list?
- Long time execution of the request
- How to query object with nested lists using linq?
- LINQ to Json data retrieval from polymorphic json
- Use LINQ where list of items contains any component in a list of components
- How to execute "Parallel.ForEach" as background task that will return control immediate to the calling method?
- Linq EF Split Parent into multiple Parents
- SQL - Combine search queries instead of multiple DB trips
- How to rename duplicates in list using LINQ
- Linq Optimization for Count And Group By
- How to do a left outer join in Entity Framework without using the query syntax?
- ExceptionMessage: Only parameterless constructors and initializers are supported in LINQ to Entities