Discussions tagged .NET DataStore

I read docs for DWnet.Data but not see nothing like getfullstate & setfullstate who use blob. has anyone had a similar problem and found a solution....
Hi, We plan to deploy .NET assemblies with .NET Datastores in the near future. The datastores were created using PB 2019 R2 build 2328, if that is relevant. Does Appeon recommend any obfuscation tools? If not, has anyone had experience with such ut...
Hi, Is there a documented list of runtime files required to support .NET assemblies containing .NET Datastore code? We have identified some of these (below). DWNet.Data.dllSnapObjects.Data.dllSnapObjects.Data.Odbc.dllSnapObjects.Data.SqlServer.dllS...
How do you do a sort off of multiple fields? The SortBy for a C# DataStore only seems to accept one key field. Thanks,Bernie...
Hi support team, I am following below article and tried to generate a grid type DW into C# model, but could not find where is the "Generate C# Model" option. https://docs.appeon.com/appeon_online_help/powerbuilder/CRUD_Operations_with_.NET_DataStor...
Hi everyone,  I ran into a problem while trying SnapDevelop. I am trying to create simple REST API.   I have a DataStore, which is imported from PB. It uses stored procedure as a data source. That stored procedure takes 5 arguments.  I can create...
Hi, I would like to know what are the options below the function DataStore.Retrieve(arg[]) method, can I use any passing argument to get only the first 50 values ? Regards, ...
Hi all, the .NET Datastore only has a couple of events, namely RetrieveStart, RetrieveEnd, UpdateStart, UpdateEnd, RowDeleting, RowDeleted. There does not seem to be an event "SqlPreview". In PowerBuilder one can see the issued SQL of every single ...
My understanding of the DynamicModel structure is that it is a way to generate a dynamic datastore from SQL, similar to executing these statements: new_syntax = SQLCA.SyntaxFromSQL(new_sql, 'Style(Type=Form)', error_syntaxfromSQL) dw_new.Create(new...
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 ...
Problem: Any value I pass to the Retrieve(argument) method returns the error below. I can't tell why. I've tried different data types in the database I need to pull records from. I've tried to use Guids, strings, number types, etc, but none of them ...
I have noticed that DataObjectFactory.LoadDataWindow uses the App Domain's Base directory to find the pbwconfig file.  This will not work for us since we may have different DataWindow versions with the same name.  We need a way to dynamically set the...
I am getting the following error when attempting create a .net datastore in a deployed environment: Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its ...
Using PB 2019, we have migrated several datastores to a SnapDevelop .NET assembly. Looking through the various tutorials and sample projects, we do not see any examples of accessing datastore column values using object dot notation. All appear to use...
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