Any previous contents of the value will be discarded. Throws an ObjectNotSavedException if this BigBinary object is
an attribute of an entity that has not yet been created in the database.
Syntax
public void OpenForWrite(long newLength)
Parameters
newLength – The new value length in bytes. Some platforms may allow this parameter to be specified as 0, with the actual length to be determined later, depending on the amount of data written to the stream. Other platforms require the total amount of data written to the stream to match the specified value.
Examples
Open for
writing – Opens a binary book image for writing.
Book book = Book.FindByPrimaryKey(bookID);
Sybase.Persistence.BigBinary image = book.Cover;
image.OpenForWrite(256);