Click or drag to resize
IntegerAttributeValueConverter Class
Provides an implementation of the Int32 value converter.
Inheritance Hierarchy
SystemObject
  CMS.SalesForceAttributeValueConverterBase
    CMS.SalesForceIntegerAttributeValueConverter

Namespace: CMS.SalesForce
Assembly: CMS.SalesForce (in CMS.SalesForce.dll) Version: 13.0.131
Syntax
C#
public sealed class IntegerAttributeValueConverter : AttributeValueConverterBase

The IntegerAttributeValueConverter type exposes the following members.

Constructors
  NameDescription
Public methodIntegerAttributeValueConverter
Initializes a new instance of the Int32 value converter using the specified attribute model and field info.
Top
Fields
  NameDescription
Protected fieldmAttributeModel
The entity attribute model to convert value to.
(Inherited from AttributeValueConverterBase.)
Protected fieldmFieldInfo
The form field info to convert value from.
(Inherited from AttributeValueConverterBase.)
Top
Methods
  NameDescription
Public methodConvert
Assigns the value from the specified CMS object field to the specified SalesForce entity attribute.
(Overrides AttributeValueConverterBaseConvert(Entity, BaseInfo).)
Public methodConvertToBaseInfo
Assigns the value from the entityAttribute to the corresponding baseInfo column.
(Overrides AttributeValueConverterBaseConvertToBaseInfo(EntityAttribute, BaseInfo).)
Public methodGetCompatibilityWarnings
Creates a list of compatibility problems that might occur during the value conversion, and returns it.
(Overrides AttributeValueConverterBaseGetCompatibilityWarnings.)
Protected methodGetUnsupportedFieldTypeMessage
Gets the custom exception message when the form field type is not copmatible with this converter.
(Inherited from AttributeValueConverterBase.)
Protected methodLogUnsupportedSalesForceTypeError
Logs an error when the SalesForce attributeValueType is not compatible with this converter.
(Inherited from AttributeValueConverterBase.)
Top
See Also