Pergunta

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?

Foi útil?

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top