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 methodGetDefaultValue
Gets default value.
Public methodStatic memberGetEmptyTable
Returns empty translation table.
Public methodGetID
Returns the object ID for specified record.
Public methodStatic memberGetIDFromDB
Gets the object ID from the database.
Public methodGetIDWithFallback
Returns the object ID for specified record calling GetID(TranslationParameters). If record could not be found, method falls back to GetIDFromDB(GetIDParameters, String) and eventually registers DB object in the helper. If neither attempt results into valid object ID, 0 is returned.
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 methodGetNewIDs
Gets the dictionary of new IDs for the given list of old IDs [oldId => [ newId, newGroupId ]] Caches the newly retrieved items in the conversion cache
Public methodStatic memberGetParentType
Gets the parent object type for specified object type.
Public methodGetRecord(TranslationParameters)
Gets the record specified by parameters.
Public methodGetRecord(String, Int32)
Gets the record by ID.
Public methodStatic memberGetSafeClassName
Gets the safe class name.
Public methodGetTranslationsXml
Gets the translations XML
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
Returns true if specified record exists in translation table.
Public methodRegisterDynamicRecords
Registers the records from the given table.
Public methodRegisterRecord
Registers the record within given translation table.
Public methodRegisterRecords(IListInt32, String, String, String)
Registers the records from the given list.
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 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 MethodGetForeignID
Returns the ID of specified object.
(Defined by TranslationHelperForeignKeyExtensions.)
Top
See Also