Add record manually in Mendix table with generating ID column value

1
 I want to insert records in the Mendix table (in SQl database) from the .net application. I am not sure how to generate the ID column value manually. It looks like a sequence number but when I insert it as a sequence in the database table, the record is not reflected in the Mendix app. Please guide me on how to insert data manually in a Mendix table?
asked
2 answers
1

Don't insert data directly into the database. The Mendix application manages associations and ids. You can really mess up your data if you get this wrong.

 

As Quang says, a good way to allow an external service to push data into a Mendix application is to create a REST service and have your .NET application send data using that.

 

The Mendix documentation gives an example on how to create a REST service if you've not done this before.

https://docs.mendix.com/howto/integration/publish-rest-service/

 

Good luck!

answered
0

in mendix make a rest publish service to add data, then in your dot net app just consume this service.

 

hope this help you.

answered