public object Clone() { QueryJoinFieldDefInfo other = (QueryJoinFieldDefInfo)this.MemberwiseClone(); other.m_bLeftColumnOpValue = this.m_bLeftColumnOpValue; other.m_strTableLeftColumn = this.m_strTableLeftColumn; other.m_bRightColumnOpValue = this.m_bRightColumnOpValue; other.m_strTableRightColumn = this.m_strTableRightColumn; return(other); }
public QueryJoinDefInfo AddRightColumn(string rightColumnName, string rightOp, string rightValue) { QueryJoinDefInfo other = (QueryJoinDefInfo)this.MemberwiseClone(); other.m_strLeftAliasName = this.m_strLeftAliasName; other.m_strRightAliasName = this.m_strRightAliasName; QueryJoinFieldDefInfo addJoinColumns = new QueryJoinFieldDefInfo(false, rightColumnName, rightOp, rightValue); other.m_QueryJoinFieldInfo = this.m_QueryJoinFieldInfo.Concat(new List <QueryJoinFieldDefInfo>() { addJoinColumns }).ToList(); return(other); }
public CloneQueryJoinFieldDefInfo(QueryJoinFieldDefInfo fieldInfo) { m_source = (QueryJoinFieldDefInfo)fieldInfo.Clone(); m_target = (QueryJoinFieldDefInfo)fieldInfo.Clone(); }