Discussions tagged DataStore (C#)

How to implement sorting, filtering and paging to my asp.net mvc controller with snapdevelop, in order to use this kind of RESTFUL syntaxe url: http://www.example.gov/api/v1/magazines.json?year=2011&sort=desc There is plenty of tutorial on how ...
Hi there, In my MVC .Net Web API i have this auto-generated GET function in my controller which works fine and return the list of all the elements in my table (SimpleJson.png). [HttpGet][ProducesResponseType(typeof(IEnumerable<Ds_Invit_Sydrtcml&...
Hello,   I try to migrate some of my PB2017 project to a web api, in my model generate with my datawindow i have a 'Clients' table with a primary key ID as string value called "Cd_Cl".   Here is the generated model:     public class Dw_Clients ...
We are using xUnit for our unit tests.  Tests – very simple ones – will often fail with the attached error when doing a 'Run All Tests' operation.  And it is random.  If I select the failed test that is highlighted below and do a 'Run Selected Test' ...
I see that you use ILogger to capture errors in some of you PowerBuilder.Data objects.  I have a couple of questions.  I am not sure how to use this method other than the method you show in one of your examples. var factory = new LoggerFactory(); fa...
Is there a way to place in the cache the IReadOnlyDataObject created by DataObjectFactory.ParseDataObject so it can be available for instantiating a DataStore object? As far as I can tell from the documentation, instantiating a DataStore depends on ...
Hi All, We are migrating a NVO to REST C# Web API. One of the methods that has to be migrated gets as argument a datastore and return, by reference, two (02) string arrays: column_names and dataTypes_names The PB method get the number of datastore ...
Hi all, We are evaluating the efforts to migrate PB NVOs from an EAS web app to REST API using Snap Develop and PB 2019. We already migrated few methods using the IDataStore object. However we noticed that several methods were missing from the orig...
  • Page :
  • 1