Class ResourceTranslationInfoBase<TInfo, TInfoProviderInterface>
- Namespace
- CMS.Localization
- Assembly
- CMS.Globalization.dll
ResourceTranslationInfo data container class.
[Obsolete("This API was not intended for public use.")]
[ObsoleteSince(29, 1)]
public class ResourceTranslationInfoBase<TInfo, TInfoProviderInterface> : AbstractInfo<TInfo, TInfoProviderInterface>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject where TInfo : ResourceTranslationInfoBase<TInfo, TInfoProviderInterface>, new()
Type Parameters
TInfo
TInfoProviderInterface
- Inheritance
-
objectAbstractInfoBase<TInfo>AbstractInfo<TInfo>AbstractInfo<TInfo, TInfoProviderInterface>ResourceTranslationInfoBase<TInfo, TInfoProviderInterface>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ResourceTranslationInfoBase(ObjectTypeInfo)
Constructor - Creates an empty ResourceTranslationInfo object.
public ResourceTranslationInfoBase(ObjectTypeInfo typeInfo)
Parameters
typeInfo
ObjectTypeInfoType info
ResourceTranslationInfoBase(ObjectTypeInfo, DataRow)
Constructor - Creates a new ResourceTranslationInfo object from the given DataRow.
public ResourceTranslationInfoBase(ObjectTypeInfo typeInfo, DataRow dr)
Parameters
typeInfo
ObjectTypeInfoType info
dr
DataRowDataRow with the object data
Properties
TranslationCultureID
Translation culture ID
[DatabaseField]
public virtual int TranslationCultureID { get; set; }
Property Value
- int
TranslationID
Translation ID
[DatabaseField]
public virtual int TranslationID { get; set; }
Property Value
- int
TranslationStringID
Translation string ID
[DatabaseField]
public virtual int TranslationStringID { get; set; }
Property Value
- int
TranslationText
Translation text
[DatabaseField]
public virtual string TranslationText { get; set; }
Property Value
- string