After user-defined methods have been defined, changing certain parts of a mapping can break the mapping. For example, if you have defined a method that takes an attribute, A, as an input parameter, and then you delete A from the mapping, the user-defined method will be broken. Similarly, if you change A's type, the method might be broken. Also, when a method is initially validated, it will be broken if Data Access Builder is unable to determine a parameter's SQL type.
If a mapping is broken, the mapping icon has a red 'X'
. To fix a mapping, you must fix each broken method:
Alternatively, remove the method by selecting it and clicking Delete.
When you have fixed all broken methods, the mapping icon will return to normal
.
Note: If a method is broken when code is generated for a mapping, the code for the broken method is excluded from the generated classes.
![]()
Add User-Defined Methods
Modify User-Defined Methods
![]()
Data Access Class Library and Generated Code
