protected bool Equals(QnSContactManager.Contracts.Persistence.Account.IRole other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Designation, other.Designation) && IsEqualsWith(Description, other.Description)); }
public void CopyProperties(QnSContactManager.Contracts.Persistence.Account.IRole 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; Designation = other.Designation; Description = other.Description; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QnSContactManager.Contracts.Persistence.Account.IRole other);
partial void BeforeCopyProperties(QnSContactManager.Contracts.Persistence.Account.IRole other, ref bool handled);