TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Caralyn
NA
1
0
Column names from a LINQ Datacontext Function
Jun 22 2010 10:39 AM
Hello
I am trying to retrive a list of column names from a stored procedure I have added as a LINQ function in C#. I can retrieve this for table objects in LINQ by using the mapping.gettable.rowtype.datamember but can't seem to work out how to do it for a LINQ function there is a GetFunction method but this is where I get stuck.
Any help would be really appreciated as I have looked high and low for this and a code example would be even better as I have only just started C#.
I basically want to access the DataContext class meta data my end goal is to build a generic reporting app so build the report columns on the fly to populate the report.
Thanks in advance!
Caralyn
Reply
Answers (
0
)
How to perform case-sensitive query with LINQ?
Execute stored procedure using a string variable