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