protected void CopyValuesInternal(BusinessEntityBase entity)
        {
            this.Created              = entity.Created;
            this.Modified             = entity.Modified;
            this.AmoResponsibleUserId = entity.AmoResponsibleUserId;
            this.AccountId            = entity.AccountId;
            // this.ResponsibleUser = entity.ResponsibleUser;

            CopyValuesFromSpecific(entity);
        }
Example #2
0
        protected override void CopyValuesFromSpecific(BusinessEntityBase entity)
        {
            var contact = entity as Contact;

            if (contact == null)
            {
                return;
            }

            this.LevelId = contact.LevelId;
        }
Example #3
0
        protected override void CopyValuesFromSpecific(BusinessEntityBase entity)
        {
            var lead = entity as Lead;

            if (lead == null)
            {
                return;
            }

            this.Name          = lead.Name;
            this.Price         = lead.Price;
            this.StartDate     = lead.StartDate;
            this.EndDate       = lead.EndDate;
            this.AmoLevelId    = lead.AmoLevelId;
            this.AmoStatusId   = lead.AmoStatusId;
            this.LanguageLevel = lead.LanguageLevel;
            this.Status        = lead.Status;
            this.ScheduleText  = lead.ScheduleText;
        }
 protected virtual void CopyValuesFromSpecific(BusinessEntityBase entity)
 {
 }