public static DbColumn MakeColumn(DbExpression exp, string alias) { DbColumn column; DbColumnAccessExpression e = exp as DbColumnAccessExpression; if (e != null) { column = new DbColumn(alias, e.Column._type, e.Column._dbType, e.Column._size); } else { column = new DbColumn(alias, exp.Type); } return(column); }
public override DbExpression Visit(DbColumnAccessExpression exp) { return(exp); }
public abstract T Visit(DbColumnAccessExpression exp);
public virtual T Visit(DbColumnAccessExpression exp) { throw new NotImplementedException(); }