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