AifChangeTracking Class [AX 2012]

The AifChangeTracking class is a common base class for integrating with SQL Server Change Tracking.

class AifChangeTracking

Run On

Server

  MethodDescription
Gg755208.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg755208.protmethod(en-us,AX.60).gif createChangedItemSql Gets the SQL statement that can be directly executed to fill the temporary table schema.
Gg755208.protmethod(en-us,AX.60).gif createDeletedItemSql Gets the SQL statement that can be directly executed to fill the temp table schema.
Gg755208.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg755208.protmethod(en-us,AX.60).gif fillTempTable Fills the temporary table by running the specified SQL parameter.
Gg755208.pubmethod(en-us,AX.60).gif getChanges Gets the changes again the last synchronization time.
Gg755208.pubmethod(en-us,AX.60).gif getDeletes Gets deletes since the last synchronization time.
Gg755208.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg755208.protmethod(en-us,AX.60).gif initialize Initializes or reinitializes an instance of a change tracking provider.
Gg755208.pubmethod(en-us,AX.60).gif isChangeTrackingEnabled Indicates whether change tracking is enabled.
Gg755208.pubmethod(en-us,AX.60).gif isChangeTrackingEnabledForQuery Indicates when a query is configured for change tracking.
Gg755208.pubmethod(en-us,AX.60).gif isChangeTrackingEnabledForTable Determines whether a particular table is configured for change tracking.
Gg755208.pubmethod(en-us,AX.60).gif isFullSynchronizationRequired Checks whether a full synchronization is required.
Gg755208.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::buildRelationsMap Parses a query structure and builds a map of all the relations between data sources.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::construct Initializes a new instance of the AifChangeTracking class.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::createInstanceRelationTypePredicate Creates a predicate on the InstanceRelationType column for a given table in the inheritance hierarchy.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::createJoinClausesAndPredicates Constructs a list of join clauses for type-expanded tables.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::executeDirectSqlQuery Executes a direct SQL query and returns the result.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::executeDirectSqlUpdate Executes a direct SQL query without a result.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::flushCache Called when a change tracking provider is no longer needed.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getChangeTrackedPhysicalTableAlias Gets the alias for the table that is joined to the change-tracked SQL table.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getFieldAlias Gets the alias for a field by converting the field information into a physical field name.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getHierarchyRootTablePhysicalName Gets the name of the physical table that is used to track changes for any given table.
Gg755208.protmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getKeyFieldMap Creates and returns a map that contains field names.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getPhysicalFieldName Gets the database name for a field.
Gg755208.privmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::getRelationFieldsByRelatedRoleName
Gg755208.protmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::instantiateDbTempTable Initializes an instance of the DB temporary table to use to returned changed or deleted keys.
Gg755208.pubmethod(en-us,AX.60).gif Gg755208.static(en-us,AX.60).gif ::recordCurrentVersion Records the current change tracking version.
Top

This class provides the base functionality for temporary table management and defines the interface for consumers.

Override this class to implement change tracking providers.

Community Additions

ADD
Show: