protected bool Equals(QuickNSmart.Contracts.Business.Account.IAppAccess other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && IsEqualsWith(FirstItem, other.FirstItem) && IsEqualsWith(SecondItems, other.SecondItems)); }
public void CopyProperties(QuickNSmart.Contracts.Business.Account.IAppAccess 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; FirstItem.CopyProperties(other.FirstItem); ClearSecondItems(); foreach (var item in other.SecondItems) { AddSecondItem(item); } } AfterCopyProperties(other); }
partial void AfterCopyProperties(QuickNSmart.Contracts.Business.Account.IAppAccess other);
partial void BeforeCopyProperties(QuickNSmart.Contracts.Business.Account.IAppAccess other, ref bool handled);