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
|
Hi, I have "blob" object which is mapped as byte[] by Lightspeed. Modifying this byte array does not get saved to DB by Uow.SaveChanges() Is there way to trigger the save? Thanks. |
|
|
Instead of poking data into the byte array directly, create a separate byte array with the updated content:
We recommend this approach anyway because it gives you more flexibility to resize the blob when required. However, if the blob is so large, and memory so tight, that you absolutely must reuse the same array, then you can hack around it by changing the blob value and then changing it back:
|
|
|
Excellent! It makes sense and thanks for the help. -chris |
|