See Also

FieldMappings Class  | RedGate.SQLDataCompare.Engine Namespace

See Also RedGate.SQLDataCompare.Engine Send comments on this topic.

FieldMappings Class Members

RedGate.SQLDataCompare.Engine Namespace : FieldMappings Class (RedGate.SQLDataCompare.Engine)

FieldMappings overview

Public Constructors

Public Constructor FieldMappings Constructor Overloaded. The default constructor.

Public Properties

Public Property Count (Inherited from RedGate.SQLCompare.Engine.Mappings)Gets the number of elements contained in the Mappings instance.
Public Property IsFixedSize (Inherited from RedGate.SQLCompare.Engine.Mappings)Gets a value indicating whether the Mappings instance has a fixed size.
Public Property IsReadOnly (Inherited from RedGate.SQLCompare.Engine.Mappings)Gets a value indicating whether the Mappings instance is read-only.
Public Property IsSynchronized (Inherited from RedGate.SQLCompare.Engine.Mappings) Gets a value indicating whether access to the Mappings instance is synchronized (thread-safe).
Public Property Item Overloaded. Gets the FieldMapping at the specified index.
Public Property Options The MappingOptions currently used for mappings.
Public Property Status (Inherited from RedGate.SQLCompare.Engine.Mappings) The event handler used to receive status update events.
Public Property SyncRoot Gets an object that can be used to synchronize access to the FieldMappings collection.

Public Methods

Public Method Add Overloaded. Adds a FieldMapping to the end of the FieldMappings collection.
Public Methodstatic (Shared in Visual Basic) CanBeMapped Returns true if the two fields can be mapped together because the types can be compared by the SQL Data Compare engine.
Public Method CancelOperation (Inherited from RedGate.SQLCompare.Engine.Mappings) Cancels the current operation.
Public Method Clear Removes all objects from the FieldMappings instance.
Public Method Contains Overloaded.  Determines whether the FieldMappings collection contains a specified FieldMapping.
Public Method CopyTo Overloaded.  Copies the entire FieldMappings collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public Method CreateMappings Creates a mapping for each object in the collection for which such a mapping is possible.
Public Method FromOne (Inherited from RedGate.SQLCompare.Engine.Mappings)Returns the Mapping of the object in the first database.
Public Method FromTwo (Inherited from RedGate.SQLCompare.Engine.Mappings)Returns the Mapping of the object in the second database.
Public Method GetEnumerator (Inherited from RedGate.SQLCompare.Engine.Mappings)Returns an enumerator that can iterate through the Mappings instance.
Public Method IndexOf Overloaded.  Searches for the specified FieldMapping, and returns the zero-based index of the first occurrence within the FieldMappings collection.
Public Method Insert Overloaded.  Not Implemented.
Public Method Join Overloaded.  Joins two fields in different databases, and returns the created mapping. The mapping may not have its status set as Success; see OnValidate for possible exceptions.
Public Method Remove Overloaded.  Removes the first occurrence of a specified FieldMapping from the FieldMappings collection.
Public Method RemoveAt (Inherited from RedGate.SQLCompare.Engine.Mappings)Removes the mapping at the specified index of the Mappings instance.
Public Method Sort (Inherited from RedGate.SQLCompare.Engine.Mappings) Sorts the Mappings according the criteria appropriate for the object.
Public Method Split (Inherited from RedGate.SQLCompare.Engine.Mappings) Splits a mapping and creates two mappings; one to null, and one from null.

See Also

FieldMappings Class  | RedGate.SQLDataCompare.Engine Namespace

 

 


© 2003 - 2006 Red Gate Software Ltd. All Rights Reserved.