NSAPConnector library

I published yesterday another helper library NSAPConnector which you can use for making remote function calls (rfc) to a SAP system. Basically this library wraps existing SAP .Net Connector 3.0 and exposes the most frequent used functionalities under a different form, let say in a more .Netish style. For example below you can find an usage example of SAP .Net Connector 3.0

            var destination = 
                RfcDestinationManager.GetDestination("DestinationName");

            var repository = destination.Repository;

            var functionReference = repository.CreateFunction("functionName");

            functionReference.SetValue("ParamName","ParamValue");

            functionReference.Invoke(destination);

            var resultTable = functionReference.GetTable("ResultTableName");

            for (var i = 0; i < resultTable.RowCount; i++)
            {
                resultTable.CurrentIndex = i;

                Console.WriteLine(resultTable.CurrentRow.GetString("ColumnName"));
            }
      

as you can see it is not a very intuitive api for a .Net developer comparing to the ADO.Net api style which NSAPConnector exposes, below is an usage example of my library:

            using (var connection = new SapConnection("DestinationName"))
            {
                connection.Open();

                 var command = 
                    new SapCommand("functionName", connection);

                command.Parameters.Add("parameterName","parameterValue");

                DataSet resultDataSet = command.ExecuteDataSet();
            }
			

As usual you can find more details and examples on Github and Codeplex, it is also available as NuGet packages NSAPConnector x86 and NSAPConnector x64.