public virtual object Clone() { ItemBaseTranslation t = new ItemBaseTranslation(); t.IdLanguage = IdLanguage; t.LanguageCode = LanguageCode; t.LanguageName = LanguageName; t.Translation = Translation.Copy(); return(t); }
public virtual ItemBaseTranslation Copy(litePerson person, String ipAddress, String ipProxyAddress, String titlePrefix = "") { ItemBaseTranslation t = new ItemBaseTranslation(); t.CreateMetaInfo(person, ipAddress, ipProxyAddress); t.IdLanguage = IdLanguage; t.LanguageCode = LanguageCode; t.LanguageName = LanguageName; t.Translation = Translation.Copy(); if (!String.IsNullOrEmpty(titlePrefix)) { t.Translation.Title = titlePrefix + t.Translation.Title; } return(t); }