/// <summary>
        /// 克隆当前元素到新的宿主模板
        /// </summary>
        /// <param name="ownerTemplate"></param>
        /// <returns></returns>
        internal override Element Clone(Template ownerTemplate)
        {
            DataReaderTag tag = new DataReaderTag(ownerTemplate);

            this.CopyTo(tag);
            tag.Variable = this.Variable == null ? null : this.Variable.Clone(ownerTemplate);
            foreach (IExpression exp in this.Parameters)
            {
                tag.Parameters.Add(exp.Clone(ownerTemplate));
            }
            return(tag);
        }
 /// <summary>
 /// 克隆当前元素到新的宿主模板
 /// </summary>
 /// <param name="ownerTemplate"></param>
 /// <returns></returns>
 internal override Element Clone(Template ownerTemplate)
 {
     DataReaderTag tag = new DataReaderTag(ownerTemplate);
     this.CopyTo(tag);
     tag.Variable = this.Variable == null ? null : this.Variable.Clone(ownerTemplate);
     foreach (IExpression exp in this.Parameters)
     {
         tag.Parameters.Add(exp.Clone(ownerTemplate));
     }
     return tag;
 }