Ejemplo n.º 1
0
        } // referredBy

        public void CopyFrom(ClientData other)
        {
            if (other.Name != null)
            {
                Name = other.Name;
            }
            if (other.ReferenceId != null)
            {
                ReferenceId = other.ReferenceId;
            }
            if (other.Address.Id != Guid.Empty)
            {
                Address.CopyFrom(other.Address);
            }
            if (other.Demographics.Id != Guid.Empty)
            {
                Demographics.CopyFrom(other.Demographics);
            }
            if (other.ProjectId != Guid.Empty)
            {
                ProjectId = other.ProjectId;
            }
            if (other.LocationId != Guid.Empty)
            {
                LocationId = other.LocationId;
            }
        } // CopyFrom