Hello,
as from the title:
since the C# Model Generator builds the POCO but also stores the .srd file (i.e. the entire DW layout) would it be possible to enhance the C# datastore API and add PDF generation (even in memory) ?
Something like the NativePDF in regular PB dw.SaveAs().
That would allow to generate the PDF server side, and return it to the client (Base64 encoded?).
Any advise?
Best,
.m
This is in par with Armeen's presentation at Elevate 2019 where he explained that one of the "drawbacks" of the past DataWindow.NET was that it was designer dependent and that it had no separation of concerns. So, the new .NET DataStore was designed to have a "Layered & Pluggable" architecture which might imply that (don't take my word for it) a PDF rendering layer could be developed as a plug in. This will require a graphic design tool in SnapDevelop, I think. But from what I understand the purpose of C# development with SnapDevelop is to build non visual business logic that can be deployed as Web APIs, so I guess it won't make any sense to invest time and effort to develop such a tool.
What could be really useful in SnapDevelop is a tool to build a model without having to code it directly, something like the Query Painter in PowerBuilder. Query Painter is rarely used alone in PowerBuilder because it is accessed from within the DataWindow Painter, but since concerns are now being separated in the new .NET DataStore a tool to graphically select tables and columns to build a model would help us a lot. Specially for project that we want to build from scratch.