Пример #1
0
 public override void CopyFrom(SarObject right)
 {
     UnitMembership r = (UnitMembership)right;
     base.CopyFrom(right);
     this.OrganizationId = r.OrganizationId;
     this.Organization = r.Organization;
     this.Start = r.Start;
     this.Finish = r.Finish;
     this.Member = r.Member;
     this.WorkerNumber = r.WorkerNumber;
     this.Status = r.Status;
 }
Пример #2
0
 public virtual void CopyFrom(SarObject right)
 {
     this.LastChanged = right.LastChanged;
     this.ChangedBy = right.ChangedBy;
 }
Пример #3
0
        public override void CopyFrom(SarObject right)
        {
            base.CopyFrom(right);
            SarMember r = (SarMember)right;

            this.FirstName = r.FirstName;
            this.LastName = r.LastName;
            this.BirthDate = r.BirthDate;
            this.Gender = r.Gender;
            this.PhotoData = r.PhotoData;
            //this.Memberships = r.Memberships;
            //this.OldMemberships = r.OldMemberships;
            //this.Addresses = r.Addresses;
            //this.ContactInfo = r.ContactInfo;
        }