Discussions tagged .NET DataStore
Select Error: ERROR [07006] [Sybase][ODBC Driver][SQL Anywhere]Cannot convert string to a integer
- Resolved
- Issue
- Last updated 3 months ago
- David Xiong @Appeon replied 3 months ago
Hi Team,
We just used PB2022 R3 to deploy one of our products on PowerServer. We are seeing odd problems with datatype conversion on one of the application's screens. I am only receiving the error in the Powerserver deployed app, even though it d...
Generación DLL para consumo en aplicaciones .NET
- Resolved
- How-to
- Last updated 6 months ago
- Jean Pierre Chavez Vicente replied 6 months ago
En el Power Builder 2022 R3 como puedo generar una DLL para que sean consumidos en aplicaciones .NET ?
...
Default numeric values in converted DataWindow
- How-to
- Last updated 11 months ago
- David Xiong @Appeon replied 11 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 1 year ago
- Logan Liu @Appeon replied 1 year 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 1 year ago
- Francisco Martinez @Appeon replied 1 year 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 1 year ago
- Arcady Abramov replied 1 year 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 2 years ago
- Alexander Strelkov replied 2 years 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 3 years ago
- Chris Pollach @Appeon replied 3 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 3 years ago
- Dan Harrel replied 3 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 2 years 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 ...
- Page :
- 1