Exemple #1
0
        internal override object Clone(SqlNodeCloneContext context)
        {
            if (context.NodeMapping.ContainsKey(this))
            {
                return(context.NodeMapping[this]);
            }

            var clone = new SqlColumnRef(
                SqlTable != null ? (SqlTable)SqlTable.Clone(context) : null,
                (SqlColumn)SqlColumn.Clone(context), Name);

            context.NodeMapping[this] = clone;
            return(clone);
        }
 public void Add(SqlColumnRef columnReference)
 {
     ArgumentValidator.EnsureArgumentNotNull(columnReference, "columnReference");
     base.Add(columnReference);
 }