I have a user defined function sitting on my SQL server. I want to utilise this within one of the partial entity classes created by the Linq to SQL designer.
I know it's very simple to do when you have access to the datacontext, however in the partial entity classes I obviously don't.
Does anyone know of a way either to access the datacontext that owns a particular entity OR call a udf directly from that entity?
Thanks