Ejemplo n.º 1
0
 protected bool Equals(QuickNSmart.Contracts.Persistence.Account.IUserXRole other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && UserId == other.UserId && RoleId == other.RoleId);
 }
Ejemplo n.º 2
0
        public void CopyProperties(QuickNSmart.Contracts.Persistence.Account.IUserXRole other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id        = other.Id;
                Timestamp = other.Timestamp;
                UserId    = other.UserId;
                RoleId    = other.RoleId;
            }
            AfterCopyProperties(other);
        }
Ejemplo n.º 3
0
 partial void AfterCopyProperties(QuickNSmart.Contracts.Persistence.Account.IUserXRole other);
Ejemplo n.º 4
0
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Persistence.Account.IUserXRole other, ref bool handled);