Commit e81fcab
Port SAP B1 ExtraProperties hook for stringized DateTime literals
Re-apply the GeneXus extension that lets consumers opt into wrapping
DateTime URI literals in single quotes (required by some SAP B1 services
that do not accept proper OData datetime syntax).
- ODataClientSettings: add a Properties bag and a static ExtraProperties
helper exposing the STRINGIZE_DATETIME_VALUES key. The session-cloning
constructor copies Properties.
- ODataExpression.Format.cs: when formatting a DateTime value, consult
Settings.Properties for the opt-in flag and wrap the literal in single
quotes when enabled.
Original commit: dc14c7f 'add support for Extra Properties on
ODataClientSettings'.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 300adbf commit e81fcab
3 files changed
Lines changed: 48 additions & 1 deletion
File tree
- src
- GXOdata.Client.All
- Simple.OData.Client.Core
- Expressions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
271 | 279 | | |
272 | 280 | | |
273 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
244 | 250 | | |
245 | 251 | | |
246 | 252 | | |
| |||
423 | 429 | | |
424 | 430 | | |
425 | 431 | | |
| 432 | + | |
426 | 433 | | |
427 | 434 | | |
428 | 435 | | |
| |||
435 | 442 | | |
436 | 443 | | |
437 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
438 | 458 | | |
0 commit comments