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.
| |
GetCodeNameColumn | Obsolete.
Gets the code name column for specified object type.
| |
GetCodeNameFromDB | Obsolete.
Gets the object code name from the database.
| |
GetCodeNamesFromDB | Obsolete.
Gets the code names from database and returns hash table of couples [ID] -> [Codename]
| |
GetDefaultValue |
Gets default value.
| |
GetEmptyTable |
Returns empty translation table.
| |
GetGroupIDColumn | Obsolete.
Gets the group ID column for specified object type.
| |
GetID(TranslationParameters) |
Returns the object ID for specified record.
| |
GetID(TranslationParameters, Int32) |
Returns the object ID for specified record.
| |
GetID(String, String, String, Int32, Int32) | Obsolete.
Returns the object ID for specified record.
| |
GetID(String, Guid, String, String, Int32, Int32) | Obsolete.
Returns the object ID for specified record.
| |
GetID(String, String, String, Int32, Int32, Int32) | Obsolete.
Returns the object ID for specified record.
| |
GetID(String, Guid, String, String, Int32, Int32, Int32) | Obsolete.
Returns the object ID for specified record.
| |
GetIDColumn | Obsolete.
Gets the ID column for specified object type.
| |
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
| |
GetParentIDColumn | Obsolete.
Gets the parent ID column for specified object type.
| |
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.
| |
GetRecord(String, String, String, Int32, Int32) | Obsolete.
Gets the record specified by parameters.
| |
GetRecord(String, Guid, String, String, Int32, Int32) | Obsolete.
Gets the record specified by parameters.
| |
GetSafeClassName |
Gets the safe class name.
| |
GetSiteIDColumn | Obsolete.
Gets the site id column for specified object type.
| |
HasRecords |
Returns true if the helper contains some records.
| |
ChangeCodeName(TranslationParameters, String) |
Changes the object code name in the table.
| |
ChangeCodeName(String, String, String, Int32, Int32, String) | Obsolete.
Changes the object code name in the table.
| |
ChangeCodeName(String, Guid, String, String, Int32, Int32, String) | Obsolete.
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(TranslationParameters) |
Returns true if specified record exists in translation table.
| |
RecordExists(String, Int32) |
Returns true if specified record exists in translation table.
| |
RecordExists(String, String, String, Int32, Int32) | Obsolete.
Returns true if specified record exists in translation table.
| |
RegisterDynamicRecords |
Registers the records from the given table.
| |
RegisterRecord(Int32, TranslationParameters, String) |
Registers the record within given translation table.
| |
RegisterRecord(String, Int32, String, Int32) | Obsolete.
Registers the record within given translation table.
| |
RegisterRecord(String, Int32, String, String, Int32, String, Int32) | Obsolete.
Registers the record within given translation table.
| |
RegisterRecord(String, Int32, Guid, String, String, Int32, String, Int32) | Obsolete.
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.
| |
RegisterRecords(DataTable, String, String, String, 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.) |