| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- //------------------------------------------------------------------------------
- // <copyright file="IDataRecord.cs" company="Microsoft">
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
- // <owner current="true" primary="true">[....]</owner>
- // <owner current="true" primary="false">[....]</owner>
- //------------------------------------------------------------------------------
- namespace System.Data {
- using System;
- // This interface is already shipped. So no more changes!
-
- public interface IDataRecord {
- int FieldCount { get;}
- object this [ int i ] { get;}
- object this [ String name ] { get;}
- String GetName(int i);
- String GetDataTypeName(int i);
- Type GetFieldType(int i);
- Object GetValue(int i);
- int GetValues(object[] values);
- int GetOrdinal(string name);
- bool GetBoolean(int i);
- byte GetByte(int i);
- long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length);
- char GetChar(int i);
- long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length);
- Guid GetGuid(int i);
- Int16 GetInt16(int i);
- Int32 GetInt32(int i);
- Int64 GetInt64(int i);
- float GetFloat(int i);
- double GetDouble(int i);
- String GetString(int i);
- Decimal GetDecimal(int i);
- DateTime GetDateTime(int i);
- IDataReader GetData(int i);
- bool IsDBNull(int i);
- }
- }
|