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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The OracleLob.LobType Will tell you which kind of LOB is (System.Data.OracleClient. OracleType .Clob or System.Data.OracleClient.O racleType. Blob or many others)