Nota
O acceso a esta páxina require autorización. Pode tentar iniciar sesión ou modificar os directorios.
O acceso a esta páxina require autorización. Pode tentar modificar os directorios.
En la tabla siguiente se muestra el tipo de .NET Framework inferido para los tipos de datos del proveedor de datos de .NET Framework para ADO y OLE DB (System.Data.OleDb). También se enumeran los métodos de los descriptores de acceso con tipo de OleDbDataReader.
| Tipo de ADO | Tipo de OLE DB | Tipo de .NET Framework | Descriptor de acceso con tipo de .NET Framework |
|---|---|---|---|
| adBigInt | DBTYPE_I8 | Int64 | GetInt64() |
| adBinary | DBTYPE_BYTES | Byte[] | GetBytes() |
| adBoolean | DBTYPE_BOOL | Booleano | GetBoolean() |
| adBSTR | DBTYPE_BSTR | Cuerda | GetString() |
| capítulo publicitario | DBTYPE_HCHAPTER | Compatible con DataReader. Consulte Recuperación de datos mediante dataReader. |
GetValue() |
| adChar | DBTYPE_STR | Cuerda | GetString() |
| adCurrency | DBTYPE_CY | Decimal | GetDecimal() |
| adDate | DBTYPE_DATE | Fecha y hora | GetDateTime() |
| adDBDate | DBTYPE_DBDATE | Fecha y hora | GetDateTime() |
| adDBTime | DBTYPE_DBTIME | Fecha y hora | GetDateTime() |
| adDBTimeStamp | DBTYPE_DBTIMESTAMP | Fecha y hora | GetDateTime() |
| adDecimal | DBTYPE_DECIMAL (Tipo de dato decimal) | Decimal | GetDecimal() |
| adDouble | DBTYPE_R8 | Doble | GetDouble() |
| Error de anuncio | DBTYPE_ERROR | ExternalException | GetValue() |
| adFileTime | DBTYPE_FILETIME | Fecha y hora | GetDateTime() |
| adGUID | DBTYPE_GUID (Tipo de Datos GUID) | GUID | GetGuid() |
| adIDispatch | DBTYPE_IDISPATCH * | Objeto | GetValue() |
| adInteger | DBTYPE_I4 | Int32 | GetInt32() |
| adIUnknown | DBTYPE_IUNKNOWN * | Objeto | GetValue() |
| adNumeric | DBTYPE_NUMERIC | Decimal | GetDecimal() |
| adPropVariant | DBTYPE_PROPVARIANT | Objeto | GetValue() |
| adSingle | DBTYPE_R4 | Soltero | GetFloat() |
| adSmallInt | DBTYPE_I2 | Int16 | GetInt16() |
| adTinyInt | DBTYPE_I1 | byte | GetByte() |
| adUnsignedBigInt | DBTYPE_UI8 | UInt64 | GetValue() |
| adUnsignedInt | DBTYPE_UI4 | UInt32 | GetValue() |
| adUnsignedSmallInt | DBTYPE_UI2 | UInt16 | GetValue() |
| adUnsignedTinyInt | DBTYPE_UI1 | byte | GetByte() |
| adVariant | DBTYPE_VARIANT | Objeto | GetValue() |
| adWChar | DBTYPE_WSTR | Cuerda | GetString() |
| adUserDefined | DBTYPE_UDT | no admitido | |
| adVarNumeric | DBTYPE_VARNUMERIC | no admitido |
* En el caso de los tipos OLE DB DBTYPE_IUNKNOWN y DBTYPE_IDISPATCH, la referencia del objeto es una representación serializada del puntero.