Choosing identifiers in entity infrastructure?

How to select all identifiers in any request of an object in the form of a list?

Say I have an object with two properties

(integer) identifier

(any type) (property)

How to select all identifiers in the request as a list?

+4
source share
1 answer

Like this:

var IDs = from e in Entities select e.Id; 
+5
source

All Articles