Пример #1
0
 public virtual void CopyFrom(BaseMoudle source)
 {
     this.Id        = source.Id;
     this.Status    = source.Status;
     this.Name      = source.Name;
     this.ParentId  = source.ParentId;
     this.Url       = source.Url;
     this.Category  = source.Category;
     this.NeedPower = source.NeedPower;
     this.NameSpace = source.NameSpace;
     //this.Parent = source.Parent;
     //this.Children = source.Children;
     this.HierarchicalPath = source.HierarchicalPath;
 }
Пример #2
0
 public BaseMoudle(BaseMoudle source)
 {
     this.CopyFrom(source);
 }