protected bool Equals(QnSProjectAward.Contracts.Modules.Base.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.Base.Translation Create(QnSProjectAward.Contracts.Modules.Base.ITranslation other)
        {
            BeforeCreate(other);
            var result = new Modules.Base.Translation();

            result.CopyProperties(other);
            AfterCreate(result, other);
            return(result);
        }
        public void CopyProperties(QnSProjectAward.Contracts.Modules.Base.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.Base.Translation instance, QnSProjectAward.Contracts.Modules.Base.ITranslation other);
 static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Base.ITranslation other);
 partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Base.ITranslation other);
 partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Base.ITranslation other, ref bool handled);