This is a migrated thread and some comments may be shown as answers.

[Solved] Grid Filtering - LINQ to Entities against a view or custom sproc with calculated fields...

2 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 30 Sep 2011, 05:30 PM
Hello,

I'm implementing a Grid with filtering.  Everyone was easy and worked great, except a few of the grid fields crashed.  These were calculated fields, not database fields.  e.g. FullName was "First Name + ' ' + Last Name". As that is not a true database field, we can't query against it.

How to get around that?  Can I bind a grid not to Entities, but to a custom view or stored procedure?

Any help greatly appreciate.

2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 04 Oct 2011, 11:58 PM
<bump>

So Nothing eh?  No answer of any kind...is it a stupid question and I should hang my head in shame for even asking it?  Just curious...
0
John
Top achievements
Rank 1
answered on 05 Oct 2011, 07:25 PM
Never mind...figured something out...I guess it was a stupid (or at least lazy) question after all.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or