Click or drag to resize
EntityExpression Methods

The EntityExpression type exposes the following members.

Methods
  NameDescription
Protected methodAccept
Dispatches to the specific visit method for this node type. For example, MethodCallExpression calls the VisitMethodCall(MethodCallExpression).
(Inherited from Expression.)
Public methodAddRelation
Adds the relation. The relation passed in is necessary to reach this entity from the root entity of the query.
Public methodAddRelations
Adds the relations passed in.
Public methodAssignNewAliasIfRequired
Assigns a new alias to this set, if necessary
(Inherited from SetExpression.)
Public methodStatic memberCreateCloneWithDifferentEntityType
Creates a clone of the passed in entityexpression with a different entity type
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRepresentingObjectForDynamicRelationSide
Gets the representing object for this entity for dynamic relation side. If this entity wraps a tvf call, this tvf call is returned (and which gets this entity's alias) otherwise this entity's type is returned.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHandle
Handles this instance using the specified handler.
(Overrides SetExpressionHandle(ScopeHandlerBase).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNewAliasAssigned
A new alias was set, using AssignNewAliasIfRequired. Use this method to map a wrapped expression to the alias set in the tracker passed in.
(Inherited from SetExpression.)
Public methodReduce
Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.
(Inherited from Expression.)
Public methodReduceAndCheck
Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.
(Inherited from Expression.)
Public methodReduceExtensions
Reduces the expression to a known node type (that is not an Extension node) or just returns the expression if it is already a known type.
(Inherited from Expression.)
Public methodSetRequiresProjectionFlag
Sets the RequiresProjection flag if this expression isn't an EntityExpression
(Inherited from SetExpression.)
Public methodToString
Returns a textual representation of the Expression.
(Overrides ExpressionToString.)
Protected methodVisitChildren
Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.
(Inherited from Expression.)
Top
See Also