Ejemplo n.º 1
0
        public override LinqExtender.Ast.Expression VisitMemberExpression(LinqExtender.Ast.MemberExpression expression)
        {
            string propertyName = expression.Member.Name;

            this._currentDataColumn = this._tableInfo.FindColumnForProperty(propertyName);

            this.Write(string.Format("[{0}].[{1}]",
                                     this._tableInfo.TableName,
                                     this._currentDataColumn.DataColumnName));
            return(expression);
        }
Ejemplo n.º 2
0
 public virtual Ast.Expression VisitMemberExpression(Ast.MemberExpression expression)
 {
     return(expression);
 }