While updating the Dump_Code addin I noticed that the context (WITH [[ ]]) for computed field and constraint expression is not exposed in M9 API.
Can you give an example Riivo?
Schema.Field.Expression (empty string if not a computed field) and Schema.Constraint.Expression are exposed.
Sorry: exactly what you said.
As described in Computed Fields and Constraints, and as in Adam's mind-expanding example sharing a single CoordConverter object for all records in a field.
You are right, it is not exposed in the current .NET model,* nor in the GUI (via Edit > Schema). Only readable for now by copying the table and pasting its definition into a command window.
(*I also checked just in case the context is somehow included within Schema.Field.Expression, although the logic would not quite work. You probably checked too. It isn't.)
Yes, we are aware that we are missing .NET API calls for managing contexts of constraints / computed fields, and will add them. Thanks for the reminder.