2012-10-03 06:57:58 -02:00
|
|
|
|
using System;
|
|
|
|
|
|
using Umbraco.Core.Persistence;
|
2012-10-18 11:49:44 -02:00
|
|
|
|
using Umbraco.Core.Persistence.DatabaseAnnotations;
|
2012-10-03 06:57:58 -02:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Models.Rdbms
|
|
|
|
|
|
{
|
|
|
|
|
|
[TableName("cmsLanguageText")]
|
|
|
|
|
|
[PrimaryKey("pk")]
|
|
|
|
|
|
[ExplicitColumns]
|
|
|
|
|
|
internal class LanguageTextDto
|
|
|
|
|
|
{
|
|
|
|
|
|
[Column("pk")]
|
2012-10-18 11:49:44 -02:00
|
|
|
|
[PrimaryKeyColumn]
|
2012-10-03 06:57:58 -02:00
|
|
|
|
public int PrimaryKey { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Column("languageId")]
|
|
|
|
|
|
public int LanguageId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Column("UniqueId")]
|
2012-10-18 11:49:44 -02:00
|
|
|
|
[ForeignKey(typeof(DictionaryDto), Column = "id")]
|
2012-10-03 06:57:58 -02:00
|
|
|
|
public Guid UniqueId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Column("value")]
|
2012-10-19 19:07:17 -02:00
|
|
|
|
[DatabaseType(SpecialDbTypes.NVARCHAR, Length = 1000)]
|
2012-10-03 06:57:58 -02:00
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|