Click or drag to resize
TranslationHelper Methods

The TranslationHelper type exposes the following members.

Methods
  NameDescription
Public methodAddIDTranslation
Adds the ID translation to the translation table.
Public methodClear
Clears the translation table.
Public methodFilterExistingRecords
Filters the existing records from the given array.
Public methodGetCodeName(String, Int32)
Returns the code name of the specified object.
Public methodGetCodeName(String, Int32, String)
Returns the code name of the specified object.
Public methodStatic memberGetCodeNameColumn
Gets the code name column for specified object type.
Public methodStatic memberGetCodeNameFromDB
Gets the object code name from the database.
Public methodGetCodeNamesFromDB
Gets the code names from database and returns Hastable of couples [ID] -> [Codename]
Public methodGetDefaultValue
Gets default value.
Public methodStatic memberGetEmptyTable
Returns empty translation table.
Public methodStatic memberGetGroupIDColumn
Gets the group ID column for specified object type.
Public methodGetID(String, String, String, Int32, Int32)
Returns the object ID for specified record.
Public methodGetID(String, String, String, Int32, Int32, Int32)
Returns the object ID for specified record.
Public methodStatic memberGetIDColumn
Gets the ID column for specified object type.
Public methodStatic memberGetIDFromDB
Gets the object ID from the database.
Public methodGetNewID(String, Int32, String, Int32, String, String, String)
Gets the new ID for given old ID.
Public methodGetNewID(String, Int32, String, Int32, String, String, String, Boolean, Int32)
Gets the new ID for given old ID.
Public methodStatic memberGetParentIDColumn
Gets the parent ID column for specified object type.
Public methodStatic memberGetParentType
Gets the parent object type for specified object type.
Public methodGetRecord(String, Int32)
Gets the record by ID.
Public methodGetRecord(String, String, String, Int32, Int32)
Gets the record by ID.
Public methodStatic memberGetSafeClassName
Gets the safe class name.
Public methodStatic memberGetSiteIDColumn
Gets the site id column for specified object type.
Public methodHasRecords
Returns true if the helper contains some records.
Public methodChangeCodeName
Changes the object code name in the table.
Public methodStatic memberIsEmpty
Determines whether the given translation helper contains any translations or not.
Public methodStatic memberIsExcluded
Returns true of the column is excluded.
Public methodRecordExists(String, Int32)
Returns true if specified record exists in translation table.
Public methodRecordExists(String, String, String, Int32, Int32)
Returns true if specified record exists in translation table.
Public methodRegisterDynamicRecords(DataTable, String, String, String, String)
Registers the dynamic records from the given table.
Public methodRegisterDynamicRecords(DataView, String, String, String, String)
Registers the records from the given table.
Public methodRegisterRecord(String, Int32, String, Int32)
Registers the record within given translation table.
Public methodRegisterRecord(String, Int32, String, String, Int32, String, Int32)
Registers the record within given translation table.
Public methodRegisterRecords(DataTable, String, String, String)
Registers the records from the given table.
Public methodRegisterRecords(String, IListInt32, String, String)
Registers the records from the given ID list.
Public methodRegisterRecords(DataTable, String, String, String, String)
Registers the records from the given table.
Public methodRegisterRecords(DataView, String, String, String, String)
Registers the records from the given table.
Public methodRegisterRecords(DataTable, String, String, String, String, String, String)
Registers the records from the given table.
Public methodRemoveDefaultValue
Removes default value.
Public methodSetDefaultValue
Sets default value.
Public methodTranslateColumn(DataRow, String, String, Int32)
Translates the DataRow column.
Public methodTranslateColumn(GeneralizedInfo, String, String, Int32, Boolean, Boolean)
Translates the column value of the given info object.
Public methodTranslateColumn(IDataContainer, String, String, Int32, Boolean, Boolean)
Translates the column value of the given container.
Public methodTranslateColumns
Translates all reference object columns.
Public methodTranslateListColumn
Translates the column value with list of IDs of the given info object.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also