[Oracle connector] C# Console Application - DEBUG

[Oracle connector] C# Console Application - DEBUG

Forge Component
Published on 2013-04-01 by Francisco Menezes
14 votes
Published on 2013-04-01 by Francisco Menezes
Hello All,

How can I develop an C# Console Application?
Just for test some variants of the connector to attend our needs.

But i dont know how simulate an Array of object like Structure we have in Service Studio.
Someone can help me out?


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using OutSystems.NssOracleConnector;

namespace ConsoleApplication
   class Program
      static void Main(string[] args)
         CssOracleConnector cOC = new CssOracleConnector();
         Object oTeste = null;
         Object oTeste1 = null;
         Object[] oTeste2 = null;
         cOC.MssExecuteSP("TS_***", "TS", "", "", "TS", "***PROC***", oTeste, oTeste1, oTeste2);
Hi Cesar,

What I usually do to do this tests is to create an extension with the structures so that the platform generates the necessary classes.

Then I take the project and transform it from ClassLibrary into ConsoleApplication and then on the Main I can create the RecordLists of those structures to test my logic.

Thanks Guilherme ... Now I can debug .... worked very well! Thanks again :)