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; }
public BaseMoudle(BaseMoudle source) { this.CopyFrom(source); }