public FieldDeclaration(string name, Expression expression, StorageType queryType) { if (name == null) throw new ArgumentNullException("name"); if (expression == null) throw new ArgumentNullException("expression"); if (queryType == null) throw new ArgumentNullException("queryType"); this.name = name; this.expression = expression; this.queryType = queryType; }
public NamedValueExpression(string name, StorageType queryType, Expression value) : base(DbExpressionType.NamedValue, value.Type) { if (name == null) throw new ArgumentNullException("name"); //if (queryType == null) //throw new ArgumentNullException("queryType"); if (value == null) throw new ArgumentNullException("value"); this.name = name; this.queryType = queryType; this.value = value; }
public QueryParameter(string name, Type type, StorageType queryType) { this.name = name; this.type = type; this.queryType = queryType; }
public override string GetVariableDeclaration(StorageType type, bool suppressSize) { return ((ODataType)type.ToInt32()).ToString(); }
public VariableExpression(string name, Type type, StorageType queryType) : base((ExpressionType)DbExpressionType.Variable, type) { this.name = name; this.queryType = queryType; }
public abstract string GetVariableDeclaration(StorageType type, bool suppressSize);
public VariableDeclaration(string name, StorageType type, Expression expression) { this.name = name; this.type = type; this.expression = expression; }