Example #1
0
 public BusinessAttachInfo(ObjectAttachEntity Entity)
 {
     this.ID        = Entity.ID;
     this.ObjectKey = Entity.ObjectKey;
     this.ObjectID  = Entity.ObjectID;
     this.AttachID  = Entity.AttachID;
 }
Example #2
0
 public void SetEntity(ObjectAttachEntity Entity)
 {
     if (!this.ObjectKey.Equals(Entity.ObjectKey))
     {
         this.ObjectKey = Entity.ObjectKey;
     }
     if (!this.ObjectID.Equals(Entity.ObjectID))
     {
         this.ObjectID = Entity.ObjectID;
     }
     if (!this.AttachID.Equals(Entity.AttachID))
     {
         this.AttachID = Entity.AttachID;
     }
 }