Is there a way to add a library reference to an inline script functoid? I'm trying to access an ODBC database through the scripting functoid and need to add the System.Data.Odbc library to make the appropriate calls. I'm using inline C#. The inline script does not allow the "using" statement.
First of all, I noticed that I could not add the System.Data.Odbc reference to the BizTalk project. I added System.Data and any other reference that might just include the ODBC commands. These references don't appear to apply to the inline code. When I build the app I receive message like this for every ODBC command I reference.
error btm1021: Inline Script Error: The type or namespace name 'OdbcConnection' could not be found (are you missing a using directive or an assembly reference?)
Any thoughts? I would like to avoid using an External Assembly if possible.
Thanks!