Example #1
0
 /** \fn DBLob OpenLob(ObjectId id)
  * \brief Open an existing lob with the speceifed oid
  * \param id The oid of the existing lob
  * \exception SequoiaDB.BaseException
  * \exception System.Exception
  */
 public DBLob OpenLob(ObjectId id)
 {
     DBLob lob = new DBLob(this);
     lob.Open(id, DBLob.SDB_LOB_READ);
     return lob;
 }
Example #2
0
 /** \fn DBLob CreateLob(ObjectId id)
  * \brief Create a large object with specified oid
  * \param id The oid for the creating lob
  * \exception SequoiaDB.BaseException
  * \exception System.Exception
  */
 public DBLob CreateLob(ObjectId id)
 {
     DBLob lob = new DBLob(this);
     lob.Open(id, DBLob.SDB_LOB_CREATEONLY);
     return lob;
 }