I have a function in my database on a SQL Server 2008 R2 which calls another function based on the first parameter.
与此类似:
SlectT dbo.usp_Function1(客户X......)
This calls a different function usp_Function1CustomerX, which is specific to a customer.
这就是说,我不想有人从数据库外打电话usp_Function1CustomerX。
More precise: I don t want this function to be called from code in visual studio or any OR-mapper. It would be like having an (c# term) internal access modifier for my function in the SQL Server.
任何关于如何做到这一点的想法?
Thanks, Robert
EDIT A. 从储存程序改为运作的实例