Ejemplo n.º 1
0
 protected bool Equals(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && Date == other.Date && IsEqualsWith(Subject, other.Subject) && IsEqualsWith(Street, other.Street) && IsEqualsWith(ZipCode, other.ZipCode) && IsEqualsWith(City, other.City));
 }
Ejemplo n.º 2
0
        public void CopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice 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;
                Date       = other.Date;
                Subject    = other.Subject;
                Street     = other.Street;
                ZipCode    = other.ZipCode;
                City       = other.City;
            }
            AfterCopyProperties(other);
        }
Ejemplo n.º 3
0
 partial void AfterCopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other);
Ejemplo n.º 4
0
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other, ref bool handled);