Forum Discussion
Ben-Dev
4 years agoHelper II
NavigationPropertyNameGenerator's Relationship Details SingleTarget Field
Hello, Sql.Database's option NavigationPropertyNameGenerator, if set, is expected to be set to a callback function. When invoked, this function is passed two arguments, the second of which is a list...
- 4 years ago
You can expect it always is set to true (unless you used MySql connector and created the report years ago).
rufengli
4 years agoMicrosoft Employee
Hi, Ben-Dev ,
You should always set it to true. The "false" option is needed for backward combatility and does not apply to SQL connector.
- Ben-Dev4 years agoHelper II
Hi rufengli,
Thanks, but this isn't an option I can set. 🙂 It's in data provided to me when the callback function is invoked by Microsoft code.
Maybe it would help if I asked the question this way: Will the values of SingleTarget that are passed to my NavigationPropertyNameGenerator callback always be set to true, regardless of the data connector being used?
Thanks,
Ben