Exemplo n.º 1
0
 protected bool Equals(QuickNSmart.Contracts.Modules.Language.ITranslation other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && IsEqualsWith(AppName, other.AppName) && KeyLanguage == other.KeyLanguage && IsEqualsWith(Key, other.Key) && ValueLanguage == other.ValueLanguage && IsEqualsWith(Value, other.Value));
 }
Exemplo n.º 2
0
        public void CopyProperties(QuickNSmart.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;
                RowVersion    = other.RowVersion;
                AppName       = other.AppName;
                KeyLanguage   = other.KeyLanguage;
                Key           = other.Key;
                ValueLanguage = other.ValueLanguage;
                Value         = other.Value;
            }
            AfterCopyProperties(other);
        }
Exemplo n.º 3
0
 partial void AfterCopyProperties(QuickNSmart.Contracts.Modules.Language.ITranslation other);
Exemplo n.º 4
0
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Modules.Language.ITranslation other, ref bool handled);