dbosoft / YaNco

.NET SAP RFC API based on SAP Netweaver RFC SDK
MIT License
123 stars 15 forks source link

added helper method for IRfcContext to access SAPRfcRuntime #279

Closed fw2568 closed 8 months ago

fw2568 commented 8 months ago

As IRfcRuntime is deprecated but IRfcContext is not, we have to provide a way that users can still access all IO effects from a RfcContext. As it is required to run all IO effects with a runtime they need access to it.

The added extension method GetSAPRfcRuntime allows to access the build in SAPRfcRuntime of the RfcContext via casting the connection field ConnectionRuntime to SAPRfcRuntime.