I want to use QueryableEntityCollectionView as the datasource for a GridView. However, I want to show columns from several different tables in this Grid and have them all be filterable/sortable. I realize I could create a view in my database and and entity to map that view but I want to avoid that if at all possible.
for example:
public
class
USER
{
public
int
UserID {
get
;
set
;}
public
String UserName {
get
;
set
;}
public
int
JobCode {
get
;
set
;}
}
public
class
JOB
{
public
int
JobCode {
get
;
set
;}
public
String JobDescription {
get
;
set
;}
};
Now suppose I want my grid to contain columns for UserName and JobDescription. How would I do this without creating a view?