Link to home
Start Free TrialLog in
Avatar of JeffDrummond
JeffDrummond

asked on

.Net equivalent of Oracle CLOB and BLOB

In my C#.Net application, I am developing a business object based on a table in
an Oracle database.  One of the table fields is defined as CLOB and another as BLOB:

ID                               NUMBER(9)
VALUESNAME          CLOB
VALUESBINARY       BLOB


In my business object class, what .Net datatype should I use when defining those
properties?  What is the .Net equivalent of CLOB and BLOB:

public class TestObject
    {
        private Int32 userid;;
        private ??? valuesstring;
        private ??? valuesbinary;

    }


Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Warpseh
Warpseh
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The OracleLob.LobType Will tell you which kind of LOB is (System.Data.OracleClient.OracleType.Clob or System.Data.OracleClient.OracleType.Blob or many others)