Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
Aşağıdaki tabloda, ADO ve OLE DB (System.Data.OleDb) için .NET Framework Veri Sağlayıcısı'ndan veri türleri için çıkarsanan .NET Framework türü gösterilmektedir. OleDbDataReader için yazılan erişimci yöntemleri de listelenmiştir.
| ADO türü | OLE DB türü | .NET Framework türü | .NET Framework türüne sahip erişimci |
|---|---|---|---|
| adBigInt | DBTYPE_I8 | Int64 | GetInt64() |
| adBinary | DBTYPE_BYTES | Bayt[] | GetBytes() |
| adBoole dili | DBTYPE_BOOL | Boolean (Boole Mantığı) | GetBoolean() |
| adBSTR | DBTYPE_BSTR | Dize | GetString() |
| adChapter | DBTYPE_HCHAPTER | aracılığıyla DataReader desteklenir. Bkz. DataReader Kullanarak Veri Alma. |
GetValue() |
| adChar | DBTYPE_STR | Dize | GetString() |
| adCurrency | DBTYPE_CY | Ondalık | GetDecimal() |
| reklam tarihi | DBTYPE_TARİH | Tarih ve Saat | GetDateTime() |
| adDBDate | DBTYPE_DBDATE | Tarih ve Saat | GetDateTime() |
| adDBTime | DBTYPE_DBTIME | Tarih ve Saat | GetDateTime() |
| adDBTimeStamp | DBTYPE_DBTIMESTAMP | Tarih ve Saat | GetDateTime() |
| adDecimal | DBTYPE_DECIMAL | Ondalık | GetDecimal() |
| adDouble | DBTYPE_R8 | İki kat | GetDouble() |
| reklamHatası | DBTYPE_ERROR | ExternalException (Harici İstisna) | GetValue() |
| adFileTime | DBTYPE_FILETIME | Tarih ve Saat | GetDateTime() |
| adGUID | DBTYPE_GUID (Evrensel Tekil Tanımlayıcı Türü) | Kılavuz | GetGuid() |
| adIDispatch | DBTYPE_IDISPATCH * | Nesne | GetValue() |
| adInteger | DBTYPE_I4 | Int32 | GetInt32() |
| adIUnknown | DBTYPE_IUNKNOWN * | Nesne | GetValue() |
| adNumeric | DBTYPE_NUMERIC | Ondalık | GetDecimal() |
| adPropVariant | DBTYPE_PROPVARIANT | Nesne | GetValue() |
| adSingle | DBTYPE_R4 | Bekâr | GetFloat() |
| adSmallInt | DBTYPE_I2 | Int16 | GetInt16() |
| adTinyInt | DBTYPE_I1 | Bayt | GetByte() |
| adUnsignedBigInt | DBTYPE_UI8 | UInt64 | GetValue() |
| adUnsignedInt | DBTYPE_UI4 | UInt32 | GetValue() |
| adUnsignedSmallInt | DBTYPE_UI2 | UInt16 | GetValue() |
| adUnsignedTinyInt | DBTYPE_UI1 | Bayt | GetByte() |
| adVariant | DBTYPE_VARIANT | Nesne | GetValue() |
| adWChar | DBTYPE_WSTR | Dize | GetString() |
| kullanıcıTanımlıReklam | DBTYPE_UDT | desteklenmiyor | |
| adVarNumeric | DBTYPE_VARNUMERIC | desteklenmiyor |
* OLE DB türleri DBTYPE_IUNKNOWN ve DBTYPE_IDISPATCH için nesne başvurusu, işaretçinin yerleştirilmiş bir gösterimidir.