This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Having a MVC web application how did you envision creating json objects using Lightspeed? And then how posting updates back to the database? |
|
|
Hi, There's a few ways of doing this. We use a mixture of approaches though depending on the control we need. Could you tell me a bit more about your scenario first (is it a single entity? do you have a preference on JSON library e.g. built-in, JSON.NET, etc?). A good approach to doing updates is to send back the fields you want to be edited, including the Id of the entity being edited, load the entity from the database and then use the model binder to apply the changes. You can read more about this here: I hope that helps |
|