Click or drag to resize

AliasUpdater Class

Class which is used to update a SetAlias with a new SetAlias and also update every entity field which is related to the old alias by assigning it to the new alias.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public class AliasUpdater : QueryApiObjectTraverser

The AliasUpdater type exposes the following members.

Constructors
  NameDescription
Public methodAliasUpdater
CTor
Top
Properties
  NameDescription
Public propertyClonesOfRealiasedFields
The clones of the fields which were realiased. These were cloned before they were realiased so they have the original alias.
Protected propertyTraverseSetPredicateInnerSetElements
Gets / sets the flag to traverse the inner elements of a FieldCompareSetPredicate. (default is true). Set to false if you use the findings of this crawler to adjust an outer query, as the inner elements of a fieldcompareset are a different scope.
(Inherited from QueryApiObjectTraverser.)
Top
Methods
  NameDescription
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTraverse(Object)
Traverses the specified object
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(DerivedTableDefinition)
Updates the old alias in all objects referenced by the passed in object including the passed in object itself to the new alias.
(Overrides QueryApiObjectTraverserTraverse(DerivedTableDefinition).)
Public methodTraverse(IDbFunctionCall)
Traverses the specified dbfunction call and contained objects.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IDynamicRelation)
Traverses the specified dynamic relation to traverse.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IEntityFieldCore)
Updates the alias in the field passed in and in all referenced elements
(Overrides QueryApiObjectTraverserTraverse(IEntityFieldCore).)
Public methodTraverse(IEnumerableIEntityFieldCore)
Traverses the object specified and its contents.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IEntityRelation)
Traverses the specified entity relation to traverse.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IExpression)
Traverses the specified expression
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IGroupByCollection)
Traverses the specified groupby collection and contained objects.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IPredicate)
Traverses the specified predicate and enclosed objects.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(IRelationCollection)
Traverses the specified relationcollection and the relations in it.
(Overrides QueryApiObjectTraverserTraverse(IRelationCollection).)
Public methodTraverse(IScalarQueryExpression)
Traverses the specified scalar query expression and contained objects.
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(ISortExpression)
Traverses the specified object to traverse.
(Overrides QueryApiObjectTraverserTraverse(ISortExpression).)
Public methodTraverse(WindowPartition)
Traverses the specified object and its contents
(Inherited from QueryApiObjectTraverser.)
Public methodTraverse(WindowSpecification)
Traverses the specified object and its contents
(Inherited from QueryApiObjectTraverser.)
Public methodTraverseExpressionOperand
Traverses the specified expression operand.
(Inherited from QueryApiObjectTraverser.)
Public methodTraversePredicate
Updates the old alias in any elements in the predicate passed in.
(Overrides QueryApiObjectTraverserTraversePredicate(IPredicate).)
Public methodTraversePredicateExpression
Traverses the predicate expression.
(Inherited from QueryApiObjectTraverser.)
Public methodTraversePredicateExpressionElement
Traverses the predicate expression element specified
(Inherited from QueryApiObjectTraverser.)
Public methodTraversePredicateField
Traverses the predicate field.
(Inherited from QueryApiObjectTraverser.)
Public methodUpdateAlias
Updates the old alias with the new alias and also updates all fields associated with the old alias found in the object to traverse to the new alias.
Top
See Also