xSQL Schema Compare SDK for SQL Server version 12
EntityMapping Constructor


The database entity type for which the mapping is defined.
The type of mapping to use.
The custom mapping interface. A null value is accepted.
Initializes a new instance of the EntityMapping class with the specified settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal objectType As SqlEntityTypeEnum, _
   ByVal mappingType As EntityMappingTypeEnum, _
   ByVal customMapping As IEntityMapping _
)

Parameters

objectType
The database entity type for which the mapping is defined.
mappingType
The type of mapping to use.
customMapping
The custom mapping interface. A null value is accepted.
Exceptions
ExceptionDescription
System.ArgumentExceptionThe mappingType argument is EntityMappingTypeEnum.Custom customMapping is null.
Remarks
The customMapping is required only when the mappingType is set to EntityMappingTypeEnum.Custom; otherwise the customMapping should be null.
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

EntityMapping Class
EntityMapping Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback