TranslationHelper Methods |
The TranslationHelper type exposes the following members.
Name | Description | |
---|---|---|
AddIDTranslation |
Adds the ID translation to the translation table.
| |
Clear |
Clears the translation table.
| |
FilterExistingRecords |
Filters the existing records from the given array.
| |
GetCodeName(String, Int32) |
Returns the code name of the specified object.
| |
GetCodeName(String, Int32, String) |
Returns the code name of the specified object.
| |
GetDefaultValue |
Gets default value.
| |
GetEmptyTable |
Returns empty translation table.
| |
GetID |
Returns the object ID for specified record.
| |
GetIDFromDB |
Gets the object ID from the database.
| |
GetIDWithFallback |
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.
| |
GetNewID(String, Int32, String, Int32, String, String, String) |
Gets the new ID for given old ID.
| |
GetNewID(String, Int32, String, Int32, String, String, String, Boolean, Int32) |
Gets the new ID for given old ID.
| |
GetNewIDs |
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
| |
GetParentType |
Gets the parent object type for specified object type.
| |
GetRecord(TranslationParameters) |
Gets the record specified by parameters.
| |
GetRecord(String, Int32) |
Gets the record by ID.
| |
GetSafeClassName |
Gets the safe class name.
| |
GetTranslationsXml |
Gets the translations XML
| |
HasRecords |
Returns true if the helper contains some records.
| |
ChangeCodeName |
Changes the object code name in the table.
| |
IsEmpty |
Determines whether the given translation helper contains any translations or not.
| |
IsExcluded |
Returns true of the column is excluded.
| |
RecordExists |
Returns true if specified record exists in translation table.
| |
RegisterDynamicRecords |
Registers the records from the given table.
| |
RegisterRecord |
Registers the record within given translation table.
| |
RegisterRecords(IListInt32, String, String, String) |
Registers the records from the given list.
| |
RegisterRecords(String, IListInt32, String, String) |
Registers the records from the given ID list.
| |
RegisterRecords(DataTable, String, String, String, String) |
Registers the records from the given table.
| |
RemoveDefaultValue |
Removes default value.
| |
SetDefaultValue |
Sets default value.
| |
TranslateColumn(DataRow, String, String, Int32) |
Translates the DataRow column.
| |
TranslateColumn(GeneralizedInfo, String, String, Int32, Boolean, Boolean) |
Translates the column value of the given info object.
| |
TranslateColumn(IDataContainer, String, String, Int32, Boolean, Boolean) |
Translates the column value of the given container.
| |
TranslateColumns |
Translates all reference object columns.
| |
TranslateListColumn |
Translates the column value with list of IDs of the given info object.
|
Name | Description | |
---|---|---|
GetForeignID |
Returns the ID of specified object.
(Defined by TranslationHelperForeignKeyExtensions.) |