Discussions tagged .NET DataStore
Default numeric values in converted DataWindow
- How-to
- Last updated 5 months ago
- David Xiong @Appeon replied 4 months ago
Hello,I'm using SnapDevelop to generate the DataWindows.I can see the default values for the columns of type string or datetime, but none of the numeric types.For example, this is fine:public string C_Chiuso_A_Forza { get; set; } = "N";But I can't se...
Better JavaScript support
- Resolved
- Advice
- Last updated 6 months ago
- Logan Liu @Appeon replied 6 months ago
The new REST API support is great. We are prototyping a web application which shares an API with our PB application.
Manipulating the data when reading and saving information is very complex in JavaScript. When manipulating information coming from a...
Deserialization not supported for SnapObjects.Data.IDataUnpacker
- Resolved
- Issue
- Last updated 6 months ago
- Francisco Martinez @Appeon replied 6 months ago
I'm creating an API with the help of the PowerScript migrator. I'm following this tutorial:PB to C#: Porting Business Logics with Minimum Refactoring Hassle (appeon.com)
I'm having an issue with the POST method, here is an extract of my code:
// PO...
Hello, all
I need to migrate an old desktop non-visual app with thousands of code lines of type: ds1.object.c_column[i] = ds2.object.c_column[i]
How can I migrate it to .NET service without having to manually go through the whole code and change it...
SQL Preview in DWNet.Data.Datastore
- Resolved
- How-to
- Last updated 10 months ago
- Arcady Abramov replied 10 months ago
Hello, team
How can I access the SQL, which is being run against the DB in DWNet.Data.Datastore ?
I do not see SQLPreview event, like the classic datastore used to have.
Thank you
Arcady...
.Net DataStore support for Updating SQL Server Views
- How-to
- Last updated 1 year ago
- Logan Liu @Appeon replied 1 year ago
Does the .Net DataStore product support generating a C# .Net DataStore API service from a SQL Server View DataWindow Object DataSource that will update the SQL Server View?...
Is it possible to do a "Bulk Update" on C# DataStores?
- How-to
- Last updated 1 year ago
- Logan Liu @Appeon replied 1 year ago
I'm looking into making updates to a database. So far I have normal updates working "datastore.Update();" However I'm curious if there is a way to do Bulk Updates with the C# datastores? ...
Is there a way to to speed up dataStore.Retrieve() in C#?
- How-to
- Last updated 1 year ago
- Tracy Lamb replied 1 year ago
Hi,
Is there a way to speed up how fast dataStore.Retrieve() retrieves all rows? Or can i split up the Retrieve() in some sort of way using multithreading. For example this is what I'm thinking, could I get the count of all rows, split it up N times...
How to initialize DataWindow in C# by its attribute?
- Resolved
- How-to
- Last updated 1 year ago
- Francisco Martinez @Appeon replied 1 year ago
Hi!
I know I can create a datastore by doing new Datastore<myDW>(MyOracleconnection) but im looking to create a new DataStore from its attribute string, something like this new DataStore("myDWattribute"); Trying to do this throws an error "No...
Using PB C# Migration tools to Create a Blazor Application
- Resolved
- Misc
- Last updated 1 year ago
- Alexander Strelkov replied 1 year ago
Hi Everyone
It's late frinday afternoon and I have spent the day musing an idea:
Can I use the Snap Develop C# migration tools to rapidly migrate a PB application to Web using Blazor Server and .Net Datastore for the data access layer?
Obviously t...
Hello,
I there a possibility to Save /Print the datastore to a pdf-file?
Thx...
Efficient retrieval of nested data in Web API Model via .NET DataStore?
- Resolved
- Advice
- Last updated 2 years ago
- Roland Mühlberger replied 2 years ago
Dear .NET DataStore users,
we have a Web API based on the .NET Datastore that - especially in one case - uses heavily structured objects derived from DataObjects with nested objects which then get added as Properties in the Model annotated as DwRepo...
RestClient Submit method - does syntax 1 send all the dw buffers?
- Resolved
- Advice
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
I'm relatively new to using the RestClient and SnapDevelop, but things were going fine in converting our app's DB access to asp.net core web api's until I encountered an issue with the RestClient.Submit method...in particular Syntax 1,
objectname...
.NET Datastore retrieve and subsequent SqlExecutor call to use same connection
- Resolved
- How-to
- Last updated 2 years ago
- Dan Harrel replied 2 years ago
I am having an interesting problem writing a .NET Core 3.1 API using SnapObjects to connect to SQL Anywhere via ODBC. The problem has to do with when database connections are made and released.
The SQL Anywhere database I am using has long been in...
The JSON value could not be converted to System.Datetime
- Resolved
- Issue
- Last updated 3 years ago
- Alex Riofrio replied 3 years ago
Hello,I'm following the tutorial: https://docs.appeon.com/dwconverter2019r3/CRUD_Operations_with_.NET_DataStore/index.html
But when I call the Create method from PowerBuilder 2019 R3 I get the following error message: "JSON value could not be conver...
CRUD Operations with .NET DataStore
- Resolved
- How-to
- Last updated 3 years ago
- Logan Liu @Appeon replied 1 year ago
Hello,
I started to work in PowerBuilder 2019 R3 working on the example https://docs.appeon.com/dwconverter2019r3/CRUD_Operations_with_.NET_DataStore/index.html#introduction CRUD Operations with .NET DataStore, I did all step until the test the Retr...
Datawindow converted to C# Model - best practice porting to web API client
- Resolved
- Advice
- Last updated 3 years ago
- Marco Meoni replied 3 years ago
I have generated C# Models (POCO objects) from DataWindows which I use in a SnapDevelop Web API project. I am wondering what the best practice is to use these POCO objects in my Xamarin .NET mobile app client project. They are needed in the client ...
Dear All,
When I am trying create a REST API based on below video, exactly I am following, when I link my API, Getting error like below :
fetch cors header ‘access-control-allow-origin’ missing.................
Any one can advise, how to resolve ...
.NET DataStore and Visual Studio
- Resolved
- Misc
- Last updated 3 years ago
- Armeen Mazda @Appeon replied 3 years ago
Hi,
I understand that we can open a SnapDevelop project in Visual Studio.
Is there a PowerBuilder licence needed on a PC with Visual Studio using project with .NET DataStore?
Thanks,Marcin...
PB datastore to .net
- Resolved
- Advice
- Last updated 3 years ago
- Armeen Mazda @Appeon replied 3 years ago
Dear Team,
Could u give some advice about how to convert the datastore to .net, we have migrated our service from ESA to .net Web Service.
Part of functions in service using the data store to get or set item.
Another question is if the Web Serv...
- Page :
- 1