Question

I am searching for System.Data.OracleClient OracleType.LongVarChar equivalent data type in ODP.NET Oracle.DataAccess.Client OracleDbType

Example :-

OracleType.Timestamp is equivalent to OracleDbType.TimeStamp.

How do I do this?

Was it helpful?

Solution

From the MSDN documentation:

LongVarChar - An Oracle LONG data type that contains a variable-length character string with a maximum size of 2 gigabytes. Use the .NET Framework String or OracleClient OracleString data type in Value.

Based on the available types in the ODP documentation, OracleDbType.Long seems like it would be a match.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top