private void UpdateStoreContact() { if (Customer.IsStore() && StoreContact == null && Contact != null && Customer != null) { StoreContact = FindStoreContactForContact(); } }
public List <StoreContact> ChoicesStoreContact() { if (Customer != null && Customer.IsStore()) { return(new List <StoreContact>(((Store)Customer).Contacts)); } return(new List <StoreContact>()); }
public override void Persisting() { if (Customer.IsStore()) { contact = StoreContact.Contact; } base.Persisting(); }
public void Persisting() { if (Customer.IsStore()) { _contact = StoreContact.Contact; } rowguid = Guid.NewGuid(); ModifiedDate = DateTime.Now; }