xSQL Schema Compare SDK version 9.5 for SQL Server
Register(SqlEntityTypeEnum,EntityMappingTypeEnum,IEntityMapping) Method


The type of database objects for which the mapping is defined.
The type of mapping.
The custom mapping interface.
Registers a mapping for the specified class of database entities.
Syntax
'Declaration
 
Public Overloads Sub Register( _
   ByVal objectType As SqlEntityTypeEnum, _
   ByVal entityPairingType As EntityMappingTypeEnum, _
   ByVal customPairing As IEntityMapping _
) 

Parameters

objectType
The type of database objects for which the mapping is defined.
entityPairingType
The type of mapping.
customPairing
The custom mapping interface.
Remarks
Custom mapping is not supported for the following database entities: DatabaseFileGroupDataFileLogFileDefaultConstraintPrimaryKeyFullTextIndexExtendedPropertyPermission
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityMappingFactory Class
EntityMappingFactory Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback