We are trying to utilize the ServiceStackVS plugin, but it seems we are having some issues with reserved words between .NET languages. All of our services were coded in C#, but some of our consumers are now in VB.NET.
This is the offending class in VB.NET (Operator being a reserved word in VB.NET it needs to be escaped with square brackets):
Public Partial Class ContractAccessorialOptionCriteria
Public Overridable Property AccessorialOptionCriteriaGuid As Guid
Public Overridable Property AccessorialOptionGuid As Nullable(Of Guid)
Public Overridable Property Name As String
Public Overridable Property Value As String
Public Overridable Property DateType As String
Public Overridable Property Operator As String
Public Overridable Property CreatedBy As String
Public Overridable Property CreatedDate As Nullable(Of Date)
Public Overridable Property UpdatedBy As String
Public Overridable Property UpdatedDate As Nullable(Of Date)
Public Overridable Property ExpiredBy As String
Public Overridable Property ExpiredDate As Nullable(Of Date)
End Class
So the Operator property should get generated as
Public Overridable Property [Operator] As String
Thanks,
Richard Safier
Panther Premium Logistics