c# - Timeout updating blob field using Entity Framework 4 -


i'm using ef4 update table blob field. code snippet below:

public void savepolicydocument(int policyid, int batchid, byte[] file)     {         policydocument policydocument = getpolicydocument(policyid, batchid);         policydocument.documentimage = file;         myentities.policydocuments.applycurrentvalues(policydocument);         myentities.objectstatemanager.changeobjectstate(policydocument, entitystate.modified);         myentities.savechanges();     } 

if blob field of policydocument null, updating blob field works fine. if there's value in blob field, timeout error in updating record.

thanks ideas.


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -