I've got a c# class library that I call from an asp.net application. The assembly calculates grades for students and performs calculations using datatables and such.
How can I use this assembly in SQL Server 2005 and call it once for each record in a database table? I want to re-use functionality and avoid writing the thing in T-SQL.