The TableMapping type exposes the following members.

Constructors

  NameDescription
TableMapping
Constructor. Calls the base constructor and initializes the index mappings.

Methods

  NameDescription
Clone
Creates a shallow copy.
(Overrides Mapping..::.Clone()()().)
CompareTo
Sorts the Mappings.
(Inherited from Mapping.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsMatching
Determines whether the specified field is being used for matching the databases.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RefreshMappingStatus

Checks the current contents of IndexMapping and MatchingMappings to determine whether the current TableMapping can be compared.

If the TableMapping can be compared, the TableMapping Status is set to Success; otherwise the Status is set to UnableToCompare. If not all of the fields in the table are mapped successfully, if the Status is not already set to UnableToCompare, it is set to PartialSuccess.

ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UseIndexForMapping
Changes the matching mappings to be the fields from the matched indexes. The property IndexMapping is set to the specified mapping; or null if a problem was encountered.

Fields

  NameDescription
m_obj1
The object in the first database or null.
(Inherited from Mapping.)
m_obj2
The object in the second database or null.
(Inherited from Mapping.)

Properties

  NameDescription
FieldMappings
Returns the field mappings for the tables.
Include
The include property for tables.
IndexMapping
If an IndexMapping is being used for matching, this is the IndexMapping. Its FieldMapping is also in MatchingMappings.
IndexMappings
The IndexMappings for the indexes that can be used to compare tables or views. The indexes must be PrimaryKey, Unique, or UniqueConstraint.
MatchingMappings
The FieldMappings that are used to compare the databases. These may have been set from an IndexMapping.
Messages
Messages that explain any issues concerning the mapping; null if no issues exist.
Obj1
Returns the view or table in the first database.
Obj2
Returns the view or table in the second database.
Status
The status of the Table Mapping.
Where
Where clause object used on the databases.

See Also