Class Converters
Converter helpers for EIS Connector / Web services
Assembly: SuperOffice.Plugins.dll
Syntax
public static class Converters
Methods
FromPlugin(ErpActor)
Convert ErpActor from plugin to Web Service object
Declaration
public static ErpActorWS FromPlugin(this ErpActor source)
Parameters
Returns
Convert FieldMetadataInfo from plugin to Web Service object
Declaration
public static FieldMetadataInfoWS FromPlugin(this FieldMetadataInfo source)
Parameters
Returns
FromPlugin(SearchRestrictionInfo)
Convert SearchRestrictionInfo from plugin to Web Service object
Declaration
public static SearchRestrictionInfoWS FromPlugin(this SearchRestrictionInfo source)
Parameters
Returns
MapEnums<From, To>(From)
Map enum values from one enum to another; assumes that the values have the same names throughout,
but they do not need to have the same int's
Declaration
public static To MapEnums<From, To>(this From from)
Parameters
Type |
Name |
Description |
From |
from |
Source enum value
|
Returns
Type |
Description |
To |
Same named value from the target enum, as the source value
|
Type Parameters
Name |
Description |
From |
Source enum type
|
To |
Destination enum type
|
ToPlugin(ErpActorWS)
Convert ErpActor from Web Service object to plugin
Declaration
public static ErpActor ToPlugin(this ErpActorWS source)
Parameters
Returns
Convert FieldMetadataInfo from Web Service object to plugin
Declaration
public static FieldMetadataInfo ToPlugin(this FieldMetadataInfoWS source)
Parameters
Returns
ToPlugin(SearchRestrictionInfoWS)
Convert SearchRestrictionInfo from Web Service object to plugin
Declaration
public static SearchRestrictionInfo ToPlugin(this SearchRestrictionInfoWS source)
Parameters
Returns