Class LanguageTextDto
Represents a data transfer object for a language text entry, typically used for localization or translation in the system.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class LanguageTextDto
Constructors
View SourceLanguageTextDto()
Declaration
public LanguageTextDto()
Fields
View SourcePrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "pk"
Field Value
| Type | Description |
|---|---|
| string |
TableName
Declaration
public const string TableName = "cmsLanguageText"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceLanguageId
Gets or sets the identifier of the associated language.
Declaration
[ForeignKey(typeof(LanguageDto), Column = "id")]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_cmsLanguageText_languageId", ForColumns = "languageId,UniqueId")]
public int LanguageId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PrimaryKey
Gets or sets the unique identifier (primary key) for the language text entry.
Declaration
[PrimaryKeyColumn]
public int PrimaryKey { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UniqueId
Gets or sets the unique identifier (GUID) associated with this language text entry.
Declaration
[ForeignKey(typeof(DictionaryDto), Column = "id")]
public Guid UniqueId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Value
Gets or sets the localized text value associated with the language entry.
Declaration
[Length(1000)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |