/ Published in: C#
This example is for an inline table value function with one string parameter
t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)
t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
MYourDataContext.AllInstances.YourInlineTableValuedFunctionString = (t1,t2) => { { }; return resultsList.AsQueryable(); }
URL: http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.aspx