protected bool Equals(QnSProjectAward.Contracts.Modules.Language.ITranslation other) { if (other == null) { return(false); } return(IsEqualsWith(AppName, other.AppName) && KeyLanguage == other.KeyLanguage && IsEqualsWith(Key, other.Key) && ValueLanguage == other.ValueLanguage && IsEqualsWith(Value, other.Value)); }
public static Modules.Language.Translation Create(QnSProjectAward.Contracts.Modules.Language.ITranslation other) { BeforeCreate(other); var result = new Modules.Language.Translation(); result.CopyProperties(other); AfterCreate(result, other); return(result); }
public void CopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Id = other.Id; AppName = other.AppName; KeyLanguage = other.KeyLanguage; Key = other.Key; ValueLanguage = other.ValueLanguage; Value = other.Value; } AfterCopyProperties(other); }
static partial void AfterCreate(Modules.Language.Translation instance, QnSProjectAward.Contracts.Modules.Language.ITranslation other);
static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Language.ITranslation other);
partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other);
partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other, ref bool handled);