Possible Duplicate:
How to use SQL user defined functions in .NET?
Say I have created a SQL Server function function1(int a,int b)
in my database, now how can I call this function in MVC3 controller ?
Possible Duplicate:
How to use SQL user defined functions in .NET?
Say I have created a SQL Server function function1(int a,int b)
in my database, now how can I call this function in MVC3 controller ?
You would use either ADO.NET or any one of many other database technologies.