Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top