So to do what I want I would need implement this for every object and implement the PreStore method.
Should I actually modify the Telerik generated files or should I have another set of files and add the interface in that file i.e. take advantage of the partial classes?
What I am trying to do is set CONTEXT_INFO
in the SQL database which can then be picked up by my triggers to set audit information. I would need to do this via a stored procedure and I would preferably only wish to set it once; perhaps I will have to manage this directly in my Repository layer.