Setting the Name of your CLR Function using the the Name member of the SqlFunction attribute

If you need to set the name of the function, you can do that by using the Name member of the SqlFunction attribute.  I think this is very convenient for setting the name as oppossed to using the default name of the function name.

<SqlFunction(DataAccess:=DataAccessKind.Read, IsDeterministic:=True, isprecise:=True, Name:="fnTest")>

No Comments