Skip to main content
Question

Union DAC Introduced in 2024R2

  • February 4, 2025
  • 0 replies
  • 60 views

Forum|alt.badge.img
  • Jr Varsity II
  • 35 replies

I am trying to follow the new help information supplied with 2024R2 about UNION and UNION ALL Operations in Traditional BQL. I used the provided examples in my local installation of 24.203.0023, but validation fails with the following:

[2025-02-03 23:59:16.687] \App_RuntimeCode\DACUnionTest.cs(101): error CS0311: The type 'testUnionDAC.Storage' cannot be used as type parameter 'TMapTo' in the generic type or method 'BqlTableMapper<BqlTable, TMapTo>'. There is no implicit reference conversion from 'testUnionDAC.Storage' to 'PX.Data.IBqlFieldMappingResolver'.
[2025-02-03 23:59:16.687] \App_RuntimeCode\DACUnionTest.cs(109): error CS0311: The type 'testUnionDAC.Storage' cannot be used as type parameter 'TMapTo' in the generic type or method 'BqlTableMapper<BqlTable, TMapTo>'. There is no implicit reference conversion from 'testUnionDAC.Storage' to 'PX.Data.IBqlFieldMappingResolver'.
[2025-02-03 23:59:16.690] \App_RuntimeCode\DACUnionTest.cs(101): error CS0311: The type 'testUnionDAC.Storage' cannot be used as type parameter 'TMapTo' in the generic type or method 'BqlTableMapper<BqlTable, TMapTo>'. There is no implicit reference conversion from 'testUnionDAC.Storage' to 'PX.Data.IBqlFieldMappingResolver'.
[2025-02-03 23:59:16.691] Compiler time, in seconds: 12.9183305
[2025-02-03 23:59:17.016] Validation failed.

Has anyone managed to get a union or union all DAC working?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings