Column names from a LINQ Datacontext Function
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