huysentruitw / SapNwRfc

SAP NetWeaver RFC library for .NET 5, .NET Core and .NET Framework
MIT License
148 stars 43 forks source link

feat: add SapIgnore attribute #7

Closed jwienekamp closed 4 years ago

jwienekamp commented 4 years ago

Currently, all properties in a model are mapped and sent to SAP. This could lead to errors if the model includes properties which do not exist in the SAP RFC: SAP RFC Error: RFC_INVALID_PARAMETER with message: field '...' not found

This PR adds a second attribute which marks properties to be excluded from the mapping.

huysentruitw commented 4 years ago

Thank you very much for this pull-request. I'll need to take a look why the build is failing though.