Class TableValuedFunctionExpression
- Namespace
- Microsoft.EntityFrameworkCore.Query.SqlExpressions
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
An expression that represents a table value function as a table source in a SQL tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class TableValuedFunctionExpression : TableExpressionBase, IPrintableExpression
- Inheritance
-
TableValuedFunctionExpression
- Implements
-
IPrintableExpression
- Inherited Members
Constructors
TableValuedFunctionExpression(IStoreFunction, IReadOnlyList<SqlExpression>)
Creates a new instance of the TableValuedFunctionExpression class.
public TableValuedFunctionExpression(IStoreFunction storeFunction, IReadOnlyList<SqlExpression> arguments)
Parameters
storeFunction
IStoreFunctionThe IStoreFunction associated this function.
arguments
IReadOnlyList<SqlExpression>The arguments of the function.
Properties
Arguments
The list of arguments of this function.
public virtual IReadOnlyList<SqlExpression> Arguments { get; }
Property Value
StoreFunction
The store function.
public virtual IStoreFunction StoreFunction { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Print(ExpressionPrinter)
protected override void Print(ExpressionPrinter expressionPrinter)
Parameters
expressionPrinter
ExpressionPrinter
Update(IReadOnlyList<SqlExpression>)
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.
public virtual TableValuedFunctionExpression Update(IReadOnlyList<SqlExpression> arguments)
Parameters
arguments
IReadOnlyList<SqlExpression>The Arguments property of the result.
Returns
- TableValuedFunctionExpression
This expression if no children changed, or an expression with the updated children.
VisitChildren(ExpressionVisitor)
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
visitor
ExpressionVisitor