2

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?

Matthew
  • 9,851
  • 4
  • 46
  • 77
Yogesh
  • 23
  • 4

1 Answers1

2

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.

cbeckner
  • 1,808
  • 15
  • 17