Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top