public Customer(CommonCustomer customer) { this.Initialize(customer); }
internal void Initialize(CommonCustomer customer) { this.Id = customer.Id; this.Code = customer.Code; this.Name = customer.Name; this.Email = customer.Email; this.Name = customer.Name; if (customer.PrivateQuotePolicyId != null) this.PrivateQuotePolicyId = customer.PrivateQuotePolicyId.Value; if (customer.PublicQuotePolicyId != null) this.PublicQuotePolicyId = customer.PublicQuotePolicyId.Value; }