internal BinaryColumn(BinaryExpression expr, string columnName) : this(columnName) { if (ReferenceEquals(expr, null)) { throw new ArgumentNullException("expr"); } Sql = expr.Sql; if (expr.ChildExpressions != null) { ChildExpressions.AddRange(expr.ChildExpressions); } }
internal StringColumn(StringExpression expr, string columnName, bool isUnicode) : this(columnName, isUnicode) { if (ReferenceEquals(expr, null)) { throw new ArgumentNullException("expr"); } Sql = expr.Sql; if (expr.ChildExpressions != null) { ChildExpressions.AddRange(expr.ChildExpressions); } }