public override VisitedExpression Visit(DbPropertyExpression expression) { // not quite sure what this does // may be . notation for seperating // scopes (such as schema.table.column) //VisitedExpression variable = expression.Instance.Accept(this); VariableReferenceExpression variable = new VariableReferenceExpression(expression.Instance.Accept(this).ToString(), _variableSubstitution); return new PropertyExpression(variable, expression.Property); }
internal VariableReferenceExpression(VariableReferenceExpression expression) { _name = expression._name; _variableSubstitution = expression._variableSubstitution; }
public PropertyExpression(PropertyExpression expression) { _variable = new VariableReferenceExpression(expression._variable); _property = expression._property; }
// used for inserts or updates where the column is not qualified public PropertyExpression(EdmMember property) { _variable = null; _property = property; }
public PropertyExpression(VariableReferenceExpression variable, EdmMember property) { _variable = variable; _property = property; }
// used for inserts or updates where the column is not qualified public PropertyExpression(EdmMember property) { _variable = null; _property = property; }
public PropertyExpression(PropertyExpression expression) { _variable = new VariableReferenceExpression(expression._variable); _property = expression._property; }
public PropertyExpression(VariableReferenceExpression variable, EdmMember property) { _variable = variable; _property = property; }
internal VariableReferenceExpression(VariableReferenceExpression expression) { _name = expression._name; _variableSubstitution = expression._variableSubstitution; }