Is there a possibility to auto-generate a SQL Script for cataloging assembly?

Respondida Is there a possibility to auto-generate a SQL Script for cataloging assembly?

  • miércoles, 12 de octubre de 2005 8:23
     
     

    Out-of-the-box there is no way in Visual Studio .NET 2005 to auto-generate a SQL-Script for cataloging a .NET assembly into the SQL Server 2005 CLR. I mean following:

    This is my Class (Arith.dll):

    public class Math
    {   
     public static int invert() 
        { ... }
     public static int not()  
     { ... }
    }


    I want VS to generate the following:

    CREATE ASSEMBLY Arith ...
    go
    CREATE FUNCTION invert ...
    CREATE FUNCTION not ...


    Do you now a way to do this?
    Regards, Alex

Todas las respuestas