RedGate.SQLDataCompare.Engine Namespace : TableMapping Class (RedGate.SQLDataCompare.Engine) |
TableMapping Constructor | Constructor. Calls the base constructor and initializes the index mappings. |
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. |
Clone | Overridden. Creates a shallow copy. |
CompareTo (Inherited from RedGate.SQLCompare.Engine.Mapping) | Sorts the Mappings. |
IsMatching | Determines whether the specified field is being used for matching the databases. |
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. |
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. |
TableMapping Class | RedGate.SQLDataCompare.Engine Namespace
© 2003 - 2006 Red Gate Software Ltd. All Rights Reserved.