A convenience function for easy access to the first or second SqlType in a
FieldPair. Returns the requested SqlType, or the other SqlType if the requested field
is null. Also de-references user-defined types.
Namespace:
RedGate.SQLDataCompare.Engine
Assembly:
RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function SqlType ( _
onTwo As Boolean _
) As SqlType |
Parameters
- onTwo
- Type: System..::.Boolean
true for the second database; false for the first
database.
Return Value
The SqlType for the field in the requested database; if null, the SqlType for the
field in the other database.
See Also